Styled

CSS variables

Every themeable value exposed by @get-asset/react/theme.css. Override any of them at any scope to retheme.

Surfaces

VariableDefaultDescription
--asset-background#f9fafbOutermost page background.
--asset-surface#FAFBFASubtle surface used for grouped sections and toolbars.
--asset-card#ffffffCard surface.

Borders

VariableDefaultDescription
--asset-border#d2d5d4Default hairline border on cards, dividers, inputs.
--asset-border-strong#d1d5dbStronger border for hover/emphasis states.

Text

VariableDefaultDescription
--asset-foreground#111827Primary text color.
--asset-muted-foreground#6b7280Secondary text — labels, captions, low-emphasis metadata.

Brand

VariableDefaultDescription
--asset-primary#7c3aedBrand accent. Used on buttons, links, focus rings.
--asset-primary-foreground#ffffffText color on --asset-primary surfaces.

Semantic states

Semantic tokens come as a background/foreground pair. Use the pair together — e.g. set background: var(--asset-success) and color: var(--asset-success-foreground).

VariableDefaultDescription
--asset-success#bbf7d0Success background (positive deltas).
--asset-success-foreground#166534Text color on --asset-success surfaces.
--asset-destructive#fecacaDestructive background (negative deltas, errors).
--asset-destructive-foreground#991b1bText color on --asset-destructive surfaces.

Chart palette

The snapshot, profit & loss, and operating-expense charts all pull colors from these variables. --asset-chart-revenue and --asset-chart-expense are the canonical revenue/expense colors; --asset-chart-1 through --asset-chart-5 drive categorical breakdowns.

VariableDefaultDescription
--asset-chart-revenue#15803dRevenue bar/line color.
--asset-chart-expense#a78bfaExpense bar/line color.
--asset-chart-1#7c3aedChart palette step 1.
--asset-chart-2#9061f9Chart palette step 2.
--asset-chart-3#a78bfaChart palette step 3.
--asset-chart-4#b794f4Chart palette step 4.
--asset-chart-5#c4b5fdChart palette step 5.

Shape & typography

VariableDefaultDescription
--asset-radius8pxBase corner radius used on cards, badges, buttons.
--asset-font-sanssystem UI stackSans-serif font family.
--asset-font-monoui-monospaceMonospace font family, used in code and numeric values.