Customising
The CSS variables you can override.
The theme reads CSS variables that you can override after the imports in your theme file:
| Variable | Controls |
|---|---|
--inset-radius | The base radius (0.45rem); every other radius derives from it |
--inset-shell | The page background |
--inset-panel | Floating panels: sidebar, header, sections, tables |
--inset-well | The content inside a panel |
--inset-card-gap | The space between cards: widgets, stat cards and sections (1rem) |
--inset-hairline | Borders and rings |
--inset-input-bg | The filled input background |
--inset-nav-active-bg, --inset-nav-active-fg | The current page in the sidebar |
--inset-focus | Focus rings |
--inset-auth-background | The sign-in background image, as url(...) |
Set light-mode values on :root and dark-mode values on .dark:
:root {
--inset-radius: 0.25rem;
}
.dark {
--inset-shell: var(--gray-950);
}