Theme rules
Spec: src/themes/data-tracker/THEME.md. Headings in Source Serif 4, everything else in Source Sans 3 with tabular figures for numbers.
Type
Sable County dashboard
New housing units permitted, by month
412 units
Body copy in Source Sans 3 at 17px with a 1.55 line height. Figures in tables use tabular numerals: 1,284 · 214 · 5.9%.
Color
Swatches follow the active palette. Every color on the page, including bars, sparklines and the logo, comes from these tokens.
- Paper (60)
--paper - Surface
--surface - Ink
--ink - Muted
--muted - Masthead (30)
--navy - Series (10)
--series-1 - Series 2
--series-2 - Alert / preliminary
--series-alert - Gridline
--grid
| Palette | 60 paper | 30 masthead | 10 series |
|---|---|---|---|
| County Navy Default: warm paper, navy masthead, steel-blue series | #f7f6f2 | #0f2a3d | #1f5f8b |
| Evergreen Parks, environment and land use reports | #f4f6f1 | #173a2e | #2a6e47 |
| Sandstone Warm cream and espresso with an ochre series | #f8f3ea | #3b2a1f | #a0561a |
| Harbor Cool and bright for transit and port data | #f2f6f8 | #0d4a5c | #0f7489 |
| Control Room Dark wall-display mode with a cyan series | #0d141c | #182637 | #4cc2e8 |
Page types
- Dashboard: release line, indicator tiles, featured chart with source and CSV, releases, topics.
- Topic page: indicator table with latest value, change, trend and next update.
- Methodology: definitions, source, timing, revision policy and log, FAQ, citation.
- Indicator: key figures, chart, full data table, metadata, downloads.
- About: publisher, staff, release calendar, contact and data request form.
- Rules: type, tokens, components, do and don’t.
Do
- Print the period, unit and source on every tile.
- Say the direction of change in words and pair it with an arrow.
- Put a table with the same numbers under every chart.
- Keep the previous value visible when you revise a figure.
- Use tabular figures for anything that lines up in a column.
Don’t
- Do not color a change green or red unless the direction is unambiguously good or bad.
- Do not start a bar chart’s value axis above zero.
- Do not mix monthly and quarterly figures on one axis.
- Do not publish a tile that the methodology page cannot explain.
- Do not let an SVG chart scale its text with the page width.