Skip to content

Signal

Icons

Icons

Transit and UI icons, the Favorite glyph and vehicle marker states, all Signal glyphs.

The app's icons are the Signal glyphs in icons/ (the transit icons and the web UI icons below), on iOS, Android and the web: go generate ./... turns each into template PNGs for React Native and a CSS mask or #i-{name} symbol on the web. A code name that isn't a file name is the SF Symbol the icon matches. The Favorite is a five-point rounded star in a 24pt box: center 12 × 12.9, outer radius 10.8, inner radius 5.6, tip radius 3.4, and valley radius 1.8, joined with quadratic curves. Unsaved uses a 2pt round-join outline; saved uses a fill plus a 0.6pt round-join stroke. Both weights scale with the glyph at 14 / 18 / 22 / 32pt. Other icons are filled for identity and outlined for actions; 22pt in controls and 28pt for the alert.

Traintrain.svg
Busbus.svg
Homehouse.fill
Mapmap.fill
Settingsgearshape.fill
Settings buttongearshape
All Modesline.3.horizontal.decrease
FavoriteRoundedStarShape
Live trackstopwatch
Alertexclamationmark.triangle.fill
Backchevron.left
Closexmark
Locatelocation
Expandchevron.down
Searchmagnifyingglass
Refreshrefresh.svg

Refresh is one clockwise arrow (SF Symbol arrow.clockwise), never two. icons/refresh.svg is the single source for every refresh control on the web (#i-refresh): filled paths in currentColor matching the 2.2 stroke of the other action icons. It spins one turn (0.6 s, ease-in-out) while refreshing; no spin under Reduce Motion.

Web UI icons

The web app's control and source glyphs, drawn from icons/ like the transit icons and shipped in @chitransit/signal/icons/. The second name under each is the SF Symbol it matches. Strokes are outlined to filled paths (2.2 stroke weight, round caps), so they tint like the transit icons. The alert's exclamation mark is a cut-out, as in the SF Symbol. site.js adds each as #i-{name}.

Alertalert.svgexclamationmark.triangle.fill
Closeclose.svgxmark
Locatelocate.svglocation
Searchsearch.svgmagnifyingglass
Map tunertune.svgslider.horizontal.3
Mapmap.svgmap.fill
Nearbynearby.svgiOS: transit.nearby
Scheduledscheduled.svgclock
Current stoptimeline-arrow.svgarrowtriangle.down.fill
Moremore.svgellipsis
GitHubgithub.svgGitHub mark
Backback.svgchevron.left
Disclosurechevron.svgchevron.right
Checkcheck.svgcheckmark
Recenter, followinglocate-fill.svglocation.fill
Location offlocation-off.svglocation.slash.fill
Map layerslayers.svgsquare.3.layers.3d
Favorite, offstar.svgstar
Favorite, onstar-fill.svgstar.fill
Settingssettings.svggearshape.fill
Faresfares.svgcreditcard.fill
Step-free accessstep-free.svgfigure.roll
Privacyprivacy.svghand.raised.fill
Supportsupport.svgquestionmark.circle.fill
Resetreset.svgarrow.counterclockwise
Timertimer.svgstopwatch.fill

Transit icons

Train and Bus are custom SVGs. icons/ is the single source: train.svg and bus.svg. The web app and the iOS app draw these files and nothing else for transit modes. Each is a 24 × 24 viewBox of filled paths in currentColor: no hard-coded colors, no stroke-only shapes, no text. Color comes from the context: Ink on Paper, white on a line or Brand fill, and Always black on Yellow. Shown at 16 / 24 / 44pt.

LightDarkOn line colors
Trainicons/train.svg#i-train
Busicons/bus.svg#i-bus

Updating a transit icon

  1. Draw on a 24 × 24 artboard with filled shapes only; outline any strokes and remove text.
  2. Export as SVG, run npx svgo --multipass, and set every fill to currentColor.
  3. Replace the file in icons/ with the same name.
  4. Run go test ./...; it fails on a missing file, a hard-coded color, a stroke or text.
  5. Check this section at 16 / 24 / 44pt in light, dark and on the line colors.
  6. Run go generate ./...; it regenerates the web icons and the React Native PNGs.

Vehicle markers

A pin in the line colour (Brand for a bus) in an Always White keyline, its tip and an open chevron turned to the bearing, with the train or bus glyph upright at the centre. Stale vehicles look the same as live ones. Selected: the marker scales to 1.25×, with no halo or shadow. Sizes, colors and rules: Vehicle positions › Marker.

Light

Red Line train, liveRed Line train, staleRoute 22 bus, liveRoute 22 bus, staleSelected Red Line trainSelected route 22 bus

Dark

Red Line train, liveRed Line train, staleRoute 22 bus, liveRoute 22 bus, staleSelected Red Line trainSelected route 22 bus