Skip to content

Signal

Foundations

Color

Core, status, live and CTA line colors in light and dark, with contrast ratios.

Text and status colors meet WCAG AA (4.5:1) on every surface text sits on: Surface, Card, Card 2, Card pressed, Card hover and the tints, in light, dark, Increase Contrast and every derived palette. go test and tests/palette.test.mjs check each pair. These tables render from tokens.json, the source of truth for the web (@chitransit/signal/tokens.css, bundled in chitransit.css) and the app (@chitransit/signal/tokens).

Which color to use

Components use these semantic colors, never a line color or a hex value. Words use the Text variant (Alert text, Favorite text); glyphs, outlines and fills use the base color.

TextUse
Body textInk
Secondary textMuted ink
Links and text actionsBrand
Status wordsDue, Delayed, Alert text, Favorite text
New or coming-soon calloutsHighlight
On a Brand, Highlight fill, Pro or Live surface fillOn Brand, On Highlight, On Pro, Live ink
BackgroundUse
Page and sheetSurface
Grouped content, rows on a sheetCard
A track or a block inside a cardCard 2
Hovered or pressed row or cardCard hover, Card pressed
Icon buttonsBrand tint
Highlighted content; highlight badgesHighlight tint; Highlight fill
Dialog backdropScrim

Core

Left chip light, right chip dark. Ratios are light-mode text contrast on Surface. Focus rings use Brand.

Status and emphasis

Highlight

Highlight calls out information, such as a new or coming-soon feature. It is never a status (Due, Delayed, Alert, Favorite) and never a train line. On the map, the selected bus route’s polyline is drawn in Highlight while a bus stop or bus is selected; train lines keep their CTA color (Selected route). Badges fill with Highlight fill and set text in On Highlight (.ct-chip--highlight). Text uses Highlight, on a surface or on Highlight tint.

Live and fixed

Map

The web map's ground behind the tiles, and the user-location dot with its halo.

Charts

Categorical series for charts (Usage metrics). Assign them in order and never by meaning; series 8 and up fold into No series. Bars and lines only: never text.

CTA lines

Line colors keep their CTA hue with minimal contrast variants: Yellow darkens in light mode; Brown and Purple lighten in dark mode. Bus routes use Brand, never a line color.

Route icons and line bars fill with the line token. When the fill is under 3:1 on the surface behind it, they add a 1px inner keyline in the line's keyline token. Map station markers add a white map casing.

Line letters on discs (the two-letter line code) are an optional setting, off by default. Every line shape has an accessibility label with the line name, and lists show the name next to it.