Boise Today project

Boise Today / Design system

Documentation v0.1 · Boise publication · Townwell platform

Design system contents

Accessibility and content

Contrast and visual perception

Validate real role pairings rather than assuming every theme token combination is safe.

On this page

Checks by context

Checks by context
PairingVerification
Body copyForeground on background/paper; normal text target at least 4.5:1.
MetadataMuted on its actual surface; no additional opacity reduction.
Accent linksPublic orange and admin teal must be assessed independently; normal text may need a different treatment.
Action variantsPrimary/secondary/success/danger text, borders and disabled states in both themes.
Focus and boundariesVisible control/focus indicators need sufficient contrast against adjacent colors.
Charts and mapsLabels, markers and series must remain distinguishable beyond color alone.

Measured source pairings

Measured source pairings
ContextText / surfaceContrastAssessment
Public reading#282523 / #fbfaf714.59:1Strong normal-text pairing.
Public metadata#66645f / #fffefb5.86:1Normal-text pairing; avoid reducing opacity further.
Public orange on light canvas#e86f00 / #fbfaf73.00:1Below 4.5:1 for normal text. Review small accent labels/links; use a darker text-specific role or foreground treatment.
Public orange in dark#ff8a1f / #14120f7.93:1Strong text pairing.
Admin primary light#ffffff / #2f6f845.63:1Normal-text pairing.
Admin primary dark#111318 / #78b8c88.40:1Strong normal-text pairing.
Admin success dark#ffffff / #47c99a2.08:1Below normal and large-text targets. AdminButton success keeps white text; review a dark success-contrast role before shipping this variant.

Measurement boundary

Ratios use the audited opaque sRGB hex values and relative luminance. They identify concrete source pairings, not a blanket conformance result. Color-mix, alpha overlays, hover/disabled states and actual text size still need computed-style review. The guide records these issues without changing the Townwell source or disguising them in screenshots.

Release checks

  • Measure computed foreground/background values, including color-mix and alpha.
  • Review large versus normal text using actual font weight/size.
  • Test forced-colors and zoom; do not suppress native outlines without a replacement.
  • No blanket WCAG pass is claimed by these screenshots.

Source references

Source references
FileResponsibility
app/globals.cssAudited Townwell implementation; use this file when extending this interface.
components/admin-ui.tsxAudited Townwell implementation; use this file when extending this interface.
components/admin/admin-traffic-chart.tsxAudited Townwell implementation; use this file when extending this interface.

Examples from the app

Actual Boise Today and Townwell UI with synthetic editorial, business, review, media metadata and analytics. Existing Boise imagery; no live data changes. Captured at 2× resolution or higher. Select an image to inspect it full size.

Admin Buttons · Component detail · Light · Desktop · 1920 × 192 px
Admin Fields · Component detail · Light · Desktop · 1920 × 1218 px
Admin Fields · Component detail · Light · Desktop · Focus · 1920 × 1218 px

Source audit: 2026-10-07 · Revision ce8bc72b96da · Documentation v0.1