Theming
Light, Dark and System — by attribute, no flash.
The theme is a data-theme="light" | "dark" attribute on <html>. No attribute = "system": it falls back to prefers-color-scheme.
Components read only semantic tokens, so switching theme never requires touching a component. Use the switch at the top of this page to see it.
@revon/ui exports <ThemeProvider>, useTheme(), themeInitScript() and resolveTheme(). themeInitScript runs inline in <head> before the first paint — no flash.