Skip to main content

layout_css

Function layout_css 

Source
pub fn layout_css(path: impl AsRef<Path>, opts: &Emit)
Expand description

Write makeover-webview’s component stylesheet to path.

Baked at build time rather than applied from JS the way the intent layer is, because composition never changes at runtime: no theme may reach it, so there is nothing to re-apply and no second pass over :root to pay for on load.

§Panics

If the file cannot be written.