skip the tree
system / foundations66 tokens

Foundations

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 roomComposite
56 pxlarge roomFoundations
44 pxbandSteps, not tweens
28 pxentry footerresync · durandal · tv
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
request flowdiagram
margin--font-display · --font-mono
display
martian mono 300
width
112.5
line
0.92
text
geist mono 400
label
11 px, +0.08em
entry text
16 px, 68 ch

Display type is set light and wide, and a room's title takes its size from the room. Emphasis is weight or case, never colour.

tokens / shape and space

11 lengths · 0 radius
hairline
1 pxborder
ring
2 px:focus-visible
crop offset
6 px.crop-marks
crop
10 px.crop-marks
panel-y
12 pxPanel py-3
gutter
16 px--gutter
room-x
18 pxEntryRoom px-4.5
panel-x
24 pxPanel px-6
control
32 pxButton h-8
tap
44 px--tap
foot line
68 px--foot-line
radius 0
margin--radius · --tap · --gutter
radius
0, everywhere
crop marks
10 px, 6 out
focus
2 px, 2 clear
tv focus
2 px, 4 clear
tap
44 px
tv safe
48 × 30

Square corners and crop marks. A Wall is drawn with its rules, not with shadows.