GlobalStyles

Functions

Link copied to clipboard

Inject all scheduled rules into the DOM and clear scheduled rules. If the rule cannot be parsed by the browser, it gets thrown away.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Schedule keyframes CSS in builder for injection into the DOM. They will be injected when the injectScheduled function is called the next time.

fun scheduleToInject(selector: Selector, css: CssBuilder)

Schedule CSS from css for injection into the DOM with the corresponding selector. They will be injected when the injectScheduled function is called the next time.

Link copied to clipboard
fun useDevSheet(isDev: Boolean = true)