Generates the stylesheet for a config: CSS variables on :root, one class per key and @font-face rules. The Vite plugin calls this at build time; call it yourself to preview or switch themes at runtime (inject the result into a <style> element).
:root
@font-face
<style>
A config from defineConfig, e.g. one of yarcl/themes.
defineConfig
yarcl/themes
Receives contrast warnings.
Generates the stylesheet for a config: CSS variables on
:root, one class per key and@font-facerules. The Vite plugin calls this at build time; call it yourself to preview or switch themes at runtime (inject the result into a<style>element).