"CSS and Passage Tags": Chapbook (v1.0.0)


Using the built-in global variable config, text colors and other CSS properties can be programmatically adjusted using the [JavaScript] modifer in Chapbook.

Live Example

Download: Live Example

Twee Code

:: StoryTitle
Chapbook: CSS and Passage Tags

:: Start
config.style.page.color: "yellow-4"
This is one color!
// Overwrite the default text color
config.style.page.color = "violet-6";

And this is the same color!

Download: Twee Code

results matching ""

    No results matching ""