fndn/ui

Foundations

Colour

Cool, blue-tinted neutrals with solid hairlines, never alpha borders. One accent; semantic colour is a condiment. Every colour has a light and a dark value, and each is a utility: bg-surface, text-ink-2, border-line.

TokenLightDark
--fndn-page

App background.

oklch(0.985 0.001 286.376)oklch(0.209 0.004 264.477)
--fndn-canvas

Recessed canvas behind cards, and the app chrome a joined surface sits on (attached tab strips). Its step under surface reads the same in both themes (contrast about 1.12; dark was 1.08, too faint for the selected tab of an attached strip).

oklch(0.961 0.002 247.84)oklch(0.215 0.004 264.487)
--fndn-surface

Card / panel surface.

oklch(1 0 0)oklch(0.26 0.006 271.191)
--fndn-inset

Inset wells inside a surface (chips, pressed states).

oklch(0.979 0.002 247.839)oklch(0.243 0.004 264.492)
--fndn-hover

Row / ghost-button hover.

oklch(0.97 0.002 247.839)oklch(0.289 0.006 271.22)
--fndn-hover-2

Stronger hover, secondary-button fill.

oklch(0.933 0.003 247.86)oklch(0.318 0.007 274.747)
--fndn-ink

Primary text.

oklch(0.247 0.006 258.361)oklch(0.964 0.002 247.839)
--fndn-ink-2

Secondary text.

oklch(0.506 0.01 264.477)oklch(0.731 0.008 260.731)
--fndn-ink-3

Tertiary text, placeholders, icons at rest.

oklch(0.695 0.009 264.505)oklch(0.541 0.01 264.484)
--fndn-on-ink

Text on an ink-filled surface (primary button).

oklch(0.961 0.002 247.84)oklch(0.231 0.004 264.487)
--fndn-on-accent

Text on accent / semantic fills.

oklch(1 0 0)oklch(1 0 0)
--fndn-line

Default hairline border.

oklch(0.946 0.003 264.542)oklch(0.308 0.006 258.354)
--fndn-line-strong

Stronger border, control edges.

oklch(0.912 0.005 258.326)oklch(0.356 0.007 264.474)
--fndn-line-soft

Softer divider.

oklch(0.966 0.002 264.542)oklch(0.278 0.006 258.354)
--fndn-field

Input field background.

oklch(0.961 0.001 286.375)oklch(0.293 0.006 271.223)
--fndn-stripe

Diagonal stripe line on the page backdrop.

oklch(0.405 0 0 / 0.075)oklch(1 0 0 / 0.055)
--fndn-stripe-bg

Page backdrop behind the stripes.

oklch(0.97 0 0)oklch(0.226 0.004 264.485)
--fndn-accent

The one accent blue.

oklch(0.626 0.205 254.947)oklch(0.68 0.173 253.301)
--fndn-accent-ink

Accent as text / hover fill.

oklch(0.556 0.187 255.617)oklch(0.788 0.113 248.33)
--fndn-accent-tint

Accent wash.

oklch(0.96 0.019 252.878)oklch(0.68 0.173 253.301 / 0.16)
--fndn-green

Success: done, passed, healthy (text, icons, dots).

oklch(0.603 0.155 150.883)oklch(0.705 0.154 153.814)
--fndn-green-tint

Success wash behind green text (pills, banners).

oklch(0.958 0.017 159.118)oklch(0.705 0.154 153.814 / 0.14)
--fndn-orange

Warning: attention needed, at risk (text, icons, dots).

oklch(0.689 0.179 49.902)oklch(0.746 0.156 55.642)
--fndn-orange-tint

Warning wash behind orange text (pills, banners).

oklch(0.964 0.021 67.581)oklch(0.746 0.156 55.642 / 0.14)
--fndn-red

Danger and errors: failed, destructive actions (text, icons, dots).

oklch(0.621 0.192 23.042)oklch(0.666 0.18 21.433)
--fndn-red-tint

Danger wash behind red text (pills, banners, error fields).

oklch(0.956 0.017 17.462)oklch(0.666 0.18 21.433 / 0.14)
--fndn-tooltip-bg

Tooltip background (inverted against the page).

oklch(0.272 0.008 264.435)oklch(0.182 0.004 264.459)
--fndn-tooltip-fg

Tooltip text.

oklch(0.976 0.002 247.839)oklch(0.964 0.002 247.839)
--fndn-tooltip-muted

Secondary text in a tooltip (a shortcut, a hint).

oklch(0.731 0.008 260.731)oklch(0.731 0.008 260.731)
--fndn-tooltip-border

Tooltip hairline.

oklch(0.356 0.007 264.474)oklch(0.308 0.006 258.354)
--fndn-scrim

Dim layer behind a modal window (dialog backdrop).

oklch(0 0 0 / 0.4)oklch(0 0 0 / 0.4)
--fndn-tag-blue

Tag hue. Tags mix it with the surface for their fill, border and text; equal to accent.

oklch(0.626 0.205 254.947)oklch(0.68 0.173 253.301)
--fndn-tag-green

Tag hue; equal to green.

oklch(0.603 0.155 150.883)oklch(0.705 0.154 153.814)
--fndn-tag-orange

Tag hue; equal to orange.

oklch(0.689 0.179 49.902)oklch(0.746 0.156 55.642)
--fndn-tag-red

Tag hue; equal to red.

oklch(0.621 0.192 23.042)oklch(0.666 0.18 21.433)
--fndn-tag-purple

Tag hue; accent 55% + red in oklch.

oklch(0.62375 0.19915 312.59)oklch(0.6737 0.17615 310.96)
--fndn-tag-cyan

Tag hue; accent 50% + green in oklch.

oklch(0.6145 0.18 202.915)oklch(0.6925 0.1635 203.557)
--fndn-tag-yellow

Tag hue; orange 55% + green in oklch.

oklch(0.6503 0.1682 95.3434)oklch(0.72755 0.1551 99.8194)
--fndn-tag-pink

Tag hue; red 65% + accent in oklch.

oklch(0.62275 0.19655 338.209)oklch(0.6709 0.17755 336.587)