66 custom properties in :root set two inks and one red, square corners, the lengths the Native apps share and the length of one step; the layout loads the two typefaces. pnpm tokens writes the same values for SwiftUI and Android TV, so one change reaches every screen.
the layer
src/app/globals.css
colour
39
motion
6
native
6
code
14
faces
martian · geist
radius
0
a step
40 ms
tokens / colour · the ladder
9 greys · 1 red · 1 amber
ink0b0b0c
card131314
well1c1c1d
rule2a2a2b
mark5c5b58
edge6b6a66
held7d7c78
muted text8c8a86
bonee6e3de
signal · ff3b30write to me and Faults. Nothing else.
warn · f5b400busy or a warning.
bone on ink
15.4 : 1
muted text on ink
5.7 : 1
muted text on card
5.4 : 1
ink on held
4.7 : 1
ink on signal
5.5 : 1
edge on ink
3.6 : 1
marginthe path of one token
globals.css
--signal
@theme inline
bg-signal
Tokens.swift
signal
colors.xml
token_signal
pnpm tokens writes the Swift and XML files. pnpm tokens:check fails a PR that skips them.
tokens / type
martian mono · geist mono
84 pxlead roomCompositeAa
56 pxlarge roomFoundationsAa
44 pxbandSteps, not tweensAa
28 pxentry footerresync · durandal · tvAa
lede · 17Two inks, one red, square corners.
base · 16Two inks, one red, square corners.
sm · 14Two inks, one red, square corners.
xs · 12Two inks, one red, square corners.
label · 11ls /writing · room name
diagram · a mermaid fence, drawn in box-drawing text