Dalgo Design System

Rendered from the site's own tokens.css and app.css — not a mockup of them. Every swatch, size, shadow and component below is the live shipping value, read from the stylesheet at page load. If a token changes, this page changes with it.

reading tokens…

Colour

Contrast is measured at load against the surface each token is actually used on, and labelled against WCAG AA for body text (4.5:1). Large text and non-text use different thresholds — a “below 4.5” on a decorative token is not automatically a defect.

Surfaces — the only three section backgrounds

Ink

Teal — never used for body text (links excepted)

Navy, lines and focus

Semantic accents

Typography

Inter only — no serif, no Spectral, no DM Sans, including in decorative quote marks. The sizes below are the de facto scale, ranked by how often each appears in app.css. Display text at 20px and above is weight 500 or lighter; headings are exempt.

Headings as they ship

Know Your Data,
Share Your Story

Page hero H1 — --fs-hero, fluid 38→56px. The accent is teal colour only: never underlined, bordered or decorated.

Helping nonprofits make better decisions

Section title — .section-title

Spacing

An 8pt scale, plus exactly three section-padding values. Section padding is not a free choice: white sections, tinted or dark chapter bands, and slim strips — nothing else. Two white sections meeting each pay full padding, which is why the follower usually zeroes its top.

8pt scale

Section rhythm — three values only

Values shown are for the current viewport. Below 768px these step down to 40 / 56 / 24.

Radius

Radius scales with the element. Pills for buttons and chips; larger radii as the surface grows.

Elevation

A layered navy-tinted ramp with the 1px hairline ring baked into the last layer, so cards carry no separate border. --shadow-md and --shadow-lg are aliases onto this ramp, kept so older usages lift with it.

--shadow-sm
chips, quiet cards, buttons
--shadow-card
the standard card
--shadow-pop
hover lift, popovers

Motion

One curve, one family of durations. Everything that moves respects prefers-reduced-motion. Hover the card to see --dur on the real easing.

Hover me

Real .hdh-card — lifts on --shadow-pop.

Buttons

Real .btn markup, so these behave exactly as they do on the site — including the primary's arrow and the hover lift.

Primary is --teal-ink on white, not --teal: the brighter teal does not clear 4.5:1 with white text. Ghost is a white pill with a hairline border.

On a navy band the ghost switches to --on-dark text and --hairline-on-dark (3.8:1 against navy).

Section backgrounds

Three, and no more. --surface-2 is component-only — inputs, chips, thumbnails — and never a section background. Two tinted sections never sit adjacent, and a page spends at most one or two dark bands.

--surface-0 · default
--surface-1 · the ONE tint
--navy · max 1–2 per page

Standing rules

These are not preferences. Each one exists because breaking it shipped a defect.

✕
Never underline or decorate a heading accent. .hl-underline, .cvh-hl, .pf-title-hl and every headline highlight are teal colour only — no underline, squiggle, border or ::after.
✕
A section description never exceeds 2 rendered lines. A third line is a failure, not a nitpick. Fix it by widening the container, never by editing the copy. Gated by scripts/check-copy-length.mjs inside npm run build.
✕
No copy changes without Stuti's explicit go-ahead — including to satisfy a design rule. Propose and wait.
✕
Zero !important in app.css. Solve specificity with selector scope. Exactly two stylesheets ship: tokens.css (variables only, one :root) and app.css.
✕
No play/pause controls in this UI, and no teal body text (links excepted).
✓
One quote-card pattern for every testimonial: white card, --r-xl, --shadow-card, quote ≤28px at weight 500, one mint <mark> highlight instead of bold. No naked pull-quotes.
✓
One hero visual per page — one image, no collages. A hero shows a product illustration or a photo of the people it describes, never another page's customer photo.
✓
Verify every asset against its background. Measure per-asset luminance; never eyeball one and assume the rest. A pale wordmark needs brightness(0); a solid emblem needs grayscale.
✓
QA at section boundaries, in full-page context, across ≥2 viewports. Screenshot the seams — token conformance alone does not catch a collision.