Themes to apply to displayed content
Add Theme to contents
Add a default theme to be used by a rendition
themes.register("http://example.com/default.css") Copy
themes.register("http://example.com/default.css")
themes.register({ "body": { "color": "purple"}}) Copy
themes.register({ "body": { "color": "purple"}})
Adjust the font-family of a rendition
Adjust the font size of a rendition
Inject all themes into contents
Add override
Optional
Add all overrides
contents to apply overrides to
Add themes to be used by a rendition
themes.register("light", "http://example.com/light.css") Copy
themes.register("light", "http://example.com/light.css")
themes.register("light", { "body": { "color": "purple"}}) Copy
themes.register("light", { "body": { "color": "purple"}})
themes.register({ "light" : {...}, "dark" : {...}}) Copy
themes.register({ "light" : {...}, "dark" : {...}})
Register a theme by passing its css as string
Register rule
Register themes object
Register a url
Select a theme
Update a theme
Themes to apply to displayed content
Param: rendition