Base properties
Besides the semantic properties, the file frontend/src/index.css declares a second set of properties in the base layer, on :root and on .dark. They follow the naming of the shadcn/ui components on which the app's design system is built. No Tailwind utility reads them. The web app gives them to widget plugins as the tokens that Plugin theme lists, and --radius sets the corners of the rounded-lg, rounded-md and rounded-sm utilities. Most of them refer to palette steps with var(), so changing a palette step moves them as well.
Because these declarations are in a layer, a stylesheet that is not in a layer overrides them, whatever its position. A theme stylesheet is not in a layer, so it always wins over them. The tables are generated from the stylesheet and from the frontend source, and Semantic properties explains how to read their columns. The brand, font and scale properties of the same file are on Brand color, font and text size.
Page and text
These properties hold the background and the text color of the page.
| Property | Value | Used |
|---|---|---|
--background | Light var(--color-base-0)Dark var(--color-dark-900) | 1 rule or script reads it directly |
--foreground | Light var(--color-light-850)Dark var(--color-light-100) | 1 rule or script reads it directly |
Components
These properties hold the background and text color of cards and of the accent variant of the design system's components.
| Property | Value | Used |
|---|---|---|
--card | Light var(--color-light-50)Dark var(--color-dark-800) | 1 rule or script reads it directly |
--card-foreground | Light var(--color-light-850)Dark var(--color-light-100) | 1 rule or script reads it directly |
--accent | Light var(--color-light-50)Dark var(--color-dark-700) | 1 rule or script reads it directly |
--accent-foreground | Light var(--color-light-850)Dark var(--color-light-100) | 1 rule or script reads it directly |
Borders
This property holds the color of borders.
| Property | Value | Used |
|---|---|---|
--border | Light var(--color-light-400)Dark var(--color-dark-400) | 1 rule or script reads it directly |