Skip to content

Signal

Foundations

Principles

The rules every Signal surface follows.

The system

Tokens hold every valueColor, type, space, size, radius, elevation and motion come from tokens/. Components and apps read tokens, never literals, so one token edit changes every consumer. go test fails on a raw color or size in the base, component and utility stylesheets and the docs shell; transit.css lists its few geometry literals, each with a reason.
Signal first, then the appsNew UI lands here first as a token, a contract and a docs page, then ships on web and iOS. Apps use the package as-is; a variant they need is added here, never forked.
One contract, native buildsA shared component is one contract in components/*.yaml, built natively: React Native across platforms and CSS on the web. Where the platforms differ, the contract says so.

The look

The map is the canvasOne map always fills the screen, under every tab. Nearby, Favorites, Search and stop detail live in one system sheet above it, or the leading glass sidebar in landscape. The tab bar only chooses the page.
Line color means a lineCTA colors appear only on route icons, station icons, route filters, line bars, markers, timelines and map lines. Train lines stay drawn whenever a station is on a map. Never for status.
Status is a word firstDue, Delayed and alerts are text or a glyph. Color reinforces, never carries, meaning.
Cards are the unitGray cards on white, never nested. Cards in a list never cast a shadow; cards and dialogs floating over the map use shadow.card. Sheets and floating controls carry elevation.
One of eachOne primary action per surface, one gutter, one radius per role, one icon family.

The bar

Accessible by defaultText holds 4.5:1 on every surface, tap targets are at least 44 pt, type scales with Dynamic Type and every control has a VoiceOver label. Optional aids, such as line letters, are settings that start off.
Light and dark are equalEvery component is built and checked in both. Themes change tokens, not components.
Checked, not assumedCentered is centered, circles are round, selection rings follow the shape's radius. Look at the result before calling it done.