Skip to Content
Inset

Customising

The CSS variables you can override.

The theme reads CSS variables that you can override after the imports in your theme file:

VariableControls
--inset-radiusThe base radius (0.45rem); every other radius derives from it
--inset-shellThe page background
--inset-panelFloating panels: sidebar, header, sections, tables
--inset-wellThe content inside a panel
--inset-card-gapThe space between cards: widgets, stat cards and sections (1rem)
--inset-hairlineBorders and rings
--inset-input-bgThe filled input background
--inset-nav-active-bg, --inset-nav-active-fgThe current page in the sidebar
--inset-focusFocus rings
--inset-auth-backgroundThe 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);
}