Theming & branding
Dark mode
Add the dark class (or data-theme="dark") to <html> or any element. All semantic tokens switch.
Your brand color
Override the semantic variables after importing Kontenedor:
:root {
--k-primary: oklch(0.62 0.19 150); /* green brand */
--k-primary-foreground: oklch(1 0 0);
--k-primary-subtle: oklch(0.96 0.04 150);
--k-primary-subtle-foreground: oklch(0.45 0.13 150);
--k-ring: oklch(0.62 0.19 150);
}
.dark { --k-primary: oklch(0.7 0.18 150); }
Your fonts
:root { --k-font-sans: "Inter", sans-serif; --k-font-display: "Space Grotesk", sans-serif; }
Any Google Font works. Variable fonts get the most out of the weights.
Multiple brands
Scope variables to a class (.brand-acme { --k-primary: … }) to run several brands — for agencies, white-label products or multi-tenant SaaS — on the same components.