Colours

DAVE uses a 12-step primitive scale for each colour family, with semantic aliases that map to specific stops. Override the primitives to theme the entire system.

Primitive scales

Neutral

1

Background

2

Surface

3

4

Border

5

6

Border strong

7

8

9

Secondary text

10

11

12

Foreground

Accent (Indigo)

1

2

Subtle bg

3

4

5

6

7

Focus ring

8

9

Solid

10

Hover

11

Text

12

Success (Green)

1

Subtle bg

2

3

Border

9

Solid

10

Hover

11

Text

Warning (Amber)

1

Subtle bg

2

3

Border

9

Solid

10

Hover

11

Text

Error (Red)

1

Subtle bg

2

3

Border

9

Solid

10

Hover

11

Text

Semantic tokens

Components use these tokens, not the primitive scale directly. Override primitives and semantics update automatically.

TokenValueDescription
Base
--color-background#F7F5F0Page background
--color-surface#F0EEE9Subtle surface, hover states
--color-card#FFFFFFCard and dialog backgrounds
--color-foreground#0F0E0CPrimary text
--color-foreground-secondary#706A62Secondary and placeholder text
--color-border#E2DED7Default border
--color-border-strong#C8C3BAFocused or prominent border
Accent
--color-accent#2D24AESolid accent — buttons, focus
--color-accent-hover#231B9AHovered accent solid
--color-accent-subtle#EAEAFBAccent tinted background
--color-accent-subtle-border#D9D8F7Subtle accent border
--color-accent-border#7977D6Accent border and focus rings
--color-accent-foreground#3B33BBAccent text on tinted background
Success
--color-success#16A34ASuccess solid
--color-success-subtle#F0FDF4Success background
--color-success-border#BBF7D0Success border
--color-success-foreground#166534Success text
Warning
--color-warning#D97706Warning solid
--color-warning-subtle#FFFBEBWarning background
--color-warning-border#FDE68AWarning border
--color-warning-foreground#92400EWarning text
Error
--color-error#DC2626Error solid
--color-error-hover#B91C1CHovered error solid
--color-error-subtle#FFF5F5Error background
--color-error-border#FECACAError border
--color-error-foreground#991B1BError text