classafFancordionBootstrap::BootswatchSkin

sys::Obj
  afFancordion::FancordionSkin
    afFancordionBootstrap::BootstrapSkin
      afFancordionBootstrap::BootswatchSkin

A Fancordion Skin for Bootswatch themes. Bundled Bootswatch skins are:

  • Cerulean
  • Cosmo
  • Cyborg
  • Darkly
  • Flatly
  • Journal
  • Lumen
  • Paper
  • Readable
  • Sandstone
  • Simplex
  • Slate
  • Spacelab
  • Superhero
  • United
  • Yeti

Use the above name when creating a Bootswatch skin, example:

skin := BootswatchSkin("Darkly")

To use a Bootswatch skin, set the gimmeSomeSkin function on FancordionRunner:

using afFancordion
using afFancordionBootstrap

** My Bootswatch Fixture
class BootswatchFixture : FixtureTest {
    override FancordionRunner fancordionRunner() {
        FancordionRunner() {
            it.gimmeSomeSkin = |->FancordionSkin| {
                BootswatchSkin("Cyborg")
            } 
        }
    }

    ...
}
bootstrapCssUri

Source

virtual override Uri bootstrapCssUri()

Returns the location of the Bootswatch CSS file.

make

Source

new make(Str skinName)

Creates a Bootswatch skin of the given name.

skinName

Source

Str skinName

The name of the Bootswatch skin.