writing / post18 nov 2026

A design system on a TV

The design system of my site went onto a TV before it had a part or a rule for one, and a remote with no pointer changed how focus, a press and one grey work.

this post

published
2026-11-18
reading
06 min
parts
7
the exhibit: ~ / work / terminal-home

The app came first

On 24 October 2026 the design system of this site went onto a TV. It didn't have a part for one. It didn't have a rule for one either.

The app is terminal home, my home screen for a Google TV. The Lab page Terminal Home shows its screen and its keys. And the look lived in the app's own code: one file, ten colours as hex values, and a comment saying the look is from the goksen.ing design system. A modest wardrobe.

It just felt right that the TV should look like the site.

Nine days later, on 2 November, the system caught up. It added what it calls Native parts: drawings of an app's own controls, at the size of the device, on the /system page. The TV parts of that day (the Tile, the Dock, the Feature panel and the Key hints) each name the file of the app that they mirror.

So the work ran from the app to the system, which is the wrong way round for a design system. Then, in one place, it ran back: the system changed a value that the app also has.

This is what a TV changed in a system that was made for a browser.

What moved over untouched

The look moved as it was. The background is near-black, #0B0B0C, and the text is bone, a warm off-white, #E6E3DE. The two typefaces are the same: Geist Mono for text and Martian Mono for titles. Corners are square. No shadows, no gradients.

Motion moved over too. An effect moves in steps, never in a smooth curve. The app had already given the step a length, 40 ms, as a constant in its code, and on 2 November the system took that number as a token.

And the one red kept its meaning. On the site, red is for the Primary action and for Faults. In the app, a comment at the top of the colours gives red to one control only, the open button of the trending card, "and never moves".

No pointer

Then came the part a browser never asked about.

A browser has a pointer, and a pointer has hover. A TV has a remote with four arrows, the D-pad, and an OK button. No hover. The only sign of where you are is focus: the control that the next press of OK acts on. So focus has to be easy to see.

On the web, the system draws focus as a bone ring, 2 px wide and 2 px clear of the control. On the TV it does two things at once. The control fills with bone, and a ring of 2 dp sits 4 dp outside it.

Pointing, on the web and on the TV
WhatIn a browserOn the TV
To pointa mouse or a fingerfour arrows and OK
Focusa ring, 2 px, 2 px cleara bone fill and a ring, 2 dp, 4 dp out

The Lab page has the motion of the ring and the edge that a row keeps when focus leaves it. One rule isn't there: in the row of apps, focus stops at the ends. It doesn't wrap around.

Two meanings of OK

OK means two things on the TV. On the row of apps, a short press opens the app, and a long press opens its info page.

Here's the catch. When OK goes down, the app can't know which one it is. A long press is known when its time is up. A short press is known only when OK comes up. So a control opens on release, and while OK is down it needs a state of its own. The system calls it Held.

Held is a solid grey fill. The system has one rule for every state: a state is a solid colour, never an opacity, which would be a faded fill. Held follows it.

The app's code has one more detail. A quick press would open the app before the grey ever reached the screen. So, with motion on, the grey stays up for at least one step before the app opens.

The grey that failed its own rule

On 2 November the system gave Held a new grey. The app hasn't taken it.

The app's Held is #6B6A66. That's the same value as the system's grey for the borders of inputs, and the system's own drawing of the Tile used that grey for Held at first. Then a commit of the same day gave Held a token of its own. Its message has the reason in a bracket:

a --held grey for TV held (dark ink 4.7:1, was 3.6:1 on --input)

--held and --input are token names, and the numbers are contrast ratios: the dark text on the grey fill. The design document of the system asks for 4.5 to 1 or better for its text. The old grey gave 3.6. It missed the bar the system sets for everybody else. That surprised me. The new grey is #7D7C78.

The same day, the system got a script that writes its colours into a file for Android, tokens/colors.xml. The commit says what it's for: "so the apps stop keeping hand copies".

Safe area and key hints

Two more things exist in the system only because of the TV.

The first is the safe area. Everything that must be read stays inside a margin: 48 from the left and right, 30 from the top and bottom. The system draws the TV as a frame of 960 by 540, and the Lab page tells where that size comes from. The commit that set the safe area also set a floor for type on the TV: 12 dp.

The second is the line of key hints at the foot of the screen. It tells you what each key of the remote does on the control that has focus. This is the system's drawing of it:

the key hints, with focus on an apptext
←/→ MOVE · OK OPEN YOUTUBE · HOLD OK APP INFO

The line changes with focus. The app builds it from parts, and with a feed in the card it also has ↑ TRENDING in it. In the system's drawing, a message can take the line for a few seconds, where Android would show a toast, and then the hints come back.

Where the app is behind

So the system moved on. The app, as far as its public repository says, didn't.

  • The old grey. The app's last commit is on 30 October, three days before the system's change. Its Held is still #6B6A66.
  • The generated file. The app doesn't read colors.xml. Its colours are the hex values in its own code, and no line of it names a token.
  • The toasts. The system's drawing says the line of key hints takes the place of every toast. The app still calls Android's toast in several places.
  • The remote. When the Lab page was written, every key press had come from the debug bridge, the tool that sends commands from a computer to the TV. None had come from the remote.

That last one is the odd one. The rules for focus, Held and the long press are all written for a remote, and when that page was written, the only thing pressing keys was a bridge.

Is the app behind a problem, or only a to-do? I don't know yet. It's too early to say.