Knowns UI reads the shadcn/ui theme tokens, so your colours and dark mode carry over. A small palette covers agent and data colours.
Theme tokens
Every token with its Tailwind class and its light and dark value is on Color. The type scale is on Typography.
| Token | Type | Use | |
|---|---|---|---|
| --background / --foreground | colour | - | Page and text colour. Most hairlines and quiet fills are mixed from --foreground, so they follow your theme. |
| --card / --popover | colour | - | Surfaces: cards, panels, dialogs and popovers. |
| --muted / --muted-foreground | colour | - | Quiet fills and secondary text. |
| --primary / --primary-foreground | colour | - | Primary buttons and checked controls. |
| --kn-accent / --kn-accent-foreground | colour | --primary | The single highlight of Button, Progress, Switch, Checkbox, Segmented Control and the accent tone. Unset, components use --primary. Set it on any element to recolour that region. See Variants & colours. |
| --chart-1 … --chart-5 | colour | - | Chart series colours. One accent, quiet neutrals and two meaning colours by default; set them on :root or a container to restyle every chart inside. |
| --ring | colour | - | Focus rings. |
Dark mode
Components use Tailwind’s dark: variant on a .dark class, as shadcn projects do. This site keeps the choice in a cookie, kn-theme (light or dark; no cookie means follow the system), and sets the class from a small inline script before the first paint, so pages stay static and never flash. The Theme Toggle follows the same contract.
@custom-variant dark (&:is(.dark *));Accent and agent colours
Agents and data series take their colours from one palette in lib/knowns/status.ts, the same in every view. The first colour doubles as the quiet accent some blocks use for a single highlight. Change the palette to restyle all of them.
Radius and fonts
Knowns UI uses one fixed radius family (8, 12 and 16 px) so its pieces look the same side by side; your --radius still applies to your own shadcn components. Text uses your page font, and code and numbers use Tailwind’s font-mono, so setting --font-sans and --font-mono in your theme is enough.
Logos
Agents show their provider’s logo, picked from model (“Opus 5.5” is Claude, “GPT-5” is OpenAI). Tools show a brand logo picked from their label, or a generic glyph. Pass icon to override either. See lib/knowns/icons/LICENSES.md for the logos’ sources and terms.
Reduced motion
Every animation respects prefers-reduced-motion: loops stop on a still frame and transitions become instant. Animations that run every frame use transforms only, and live views pause when they scroll out of sight.