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

Summary

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!
[JavaScript]
// Overwrite the default text color
config.style.page.color = "violet-6";
[continued]

And this is the same color!

Download: Twee Code

results matching ""

    No results matching ""