Style Reference
Design tokens
Shared with the donor dashboard. Defined in _variables.scss as SCSS variables and --sa-* CSS custom properties.
Colours
#002d43
--sa-ink#f4f8fa
--sa-canvas#ecf7fe
--sa-blue-pale#07c6d2
--sa-blue-mid#0a7079
--sa-link#5ce1eb
--sa-link-on-dark#00736c
--sa-green#fff6db
--sa-amber-paleRadii & shadows
Radii: 12 / 16 / 20 / 28px and pill (--sa-r-sm to --sa-r-pill). Shadows are soft and navy-tinted (--sa-sh-sm to --sa-sh-xl). Focus ring: 3px solid --sa-cyan-ink, offset 2px.
Consistency rules
Buttons by surface
- Light surfaces (white, canvas, pale panels, cards):
.btn-primaryfor the main CTA;.btn-outline-primaryfor secondary / card actions. - Dark surfaces (
.bg-secondary,.bg-ink, footer):.btn-outline-light(preferred β homepage βLooking for something else?β)..btn-on-darkwhen a solid white CTA is needed. - Never put ink
.btn-primarydirectly on a dark background. Nested white cards still use light-surface buttons.
Links
- All anchors default to teal
#0a7079(not Bootstrap#007bff). - Prose and standalone text links use
.link(or sit inside ap) so they underline. - On dark surfaces, use
.link-on-darkor wrap copy in.text-lightβ bright cyan#5ce1eb. - Legacy
.link-primaryis remapped to teal; prefer.linkin new markup.
Forms
- Inputs use soft 12px corners (
$sa-r-sm) β not pill radius. Pills are for buttons only. - Labels: 13px / weight 600 / ink-2. Fields: 14px, min-height 44px, border
$sa-border. - Focus: cyan mid border +
--sa-focus-ring. Errors: red border +--sa-focus-ring-error.
Typography
Figtree throughout. Headings max weight 700; lead sits one step above body.
Display β 40px
Gift Aid made easy
H1 β 36px
Page title
H2 / .section-title β 28px
Section heading
H3 β 22px
Subsection
H4 β 20px
Card title
Eyebrow label
Lead paragraph at 18px for intros and decks.
Body at 16px with a 1.6 line-height. Inline links like this one are teal and underlined.
Small / caption text at 14px.
FAQ section heading (22px / 600)
Links
Light surfaces
Inside a paragraph: inline prose link.
Standalone (use .link):
Also remapped: .link-primary,
Surfaces & panels
.sa-card
White surface, border, 20px radius, soft navy shadow.
.sa-tile
Canvas-tinted metric tile.
.sa-chipDark panel pattern
Same treatment as βLooking for something else?β β outline-light CTA on ink.
Buttons
Pill-shaped, minimum 44px tall. Choose the variant for the surface behind the button.
Light surfaces
Dark surfaces
Sizes
States
Forms
Matched to the donor dashboard: 12px corners, 13px labels, 14px fields, cyan focus ring.
States
Rules: soft $sa-r-sm (12px) radius β not pills. Pills stay on buttons. Focus uses --sa-blue-mid + --sa-focus-ring; errors use --sa-red + --sa-focus-ring-error.
FAQ accordion tone
Frequently asked questions
Questions: 16px / weight 500 β not bold headings.
Accessibility
- Skip link to
#main-contenton every page. - Keyboard focus: 3px teal-ink
:focus-visiblering. prefers-reduced-motiondisables AOS and transitions.- Link colours meet WCAG AA; buttons meet the 44px touch target.
Focus ring demo β tab to this control:
Focusable sample