Customize colors, radius and fonts with CSS variables.
Everything in krz-ui is driven by CSS variables. Override them anywhere — globally or on any wrapper.
CSS variables
:root {
--krz-primary: #0ea5e9;
--krz-primary-2: #22d3ee; /* second stop of the brand gradient */
--krz-radius: 8px;
--krz-font: "Poppins", sans-serif;
}Tokens
Dark mode
Dark mode follows the OS by default. To control it yourself, set data-theme="dark" or data-theme="light" (or the class dark / light) on <html> or any wrapper.
<html data-theme="dark">...</html>