Theme gallery
Base16 schemes and iTerm2 presets read by roundel/import: the colour each token takes, its contrast on the scheme's own background, and whether roundel flies it.
Every row is a scheme file read by roundel/import — fromBase16 or fromITerm, the
functions a program calls — and nothing in the table is typed by hand. Each colour is shown
with its WCAG ratio on the scheme's own background; a scheme fly() would refuse is listed
as refused, with the slot that refused it, rather than left out.
The gallery is the scheme files in
packages/roundel/src/__fixtures__/,
which are also what import.test.ts pins the importers against. A theme joins it by adding
its file; the row is derived.
| Scheme | Format | roundel | ground | error | warn | ok | flag | value |
|---|---|---|---|---|---|---|---|---|
dracula.itermcolors | iTerm2 | flies | #282a36 | #ff5555 4.53:1 | #f1fa8c 12.74:1 | #50fa7b 10.38:1 | #8be9fd 10.29:1 | #ff79c6 5.97:1 |
gruvbox-dark-hard.yaml | Base16 | flies | #1d2021 | #fb4934 4.77:1 | #fabd2f 9.67:1 | #b8bb26 7.94:1 | #8ec07c 7.79:1 | #d3869b 5.98:1 |
tomorrow-night.yaml | Base16 | refused — error (base08) below 4.5:1 | #1d1f21 | #cc6666 4.46:1 | #f0c674 10.26:1 | #b5bd68 8.22:1 | #8abeb7 7.97:1 | #b294bb 6.18:1 |
Themes and contrast
fly() sets what each token paints: format names from the terminal's palette, or a hex checked against WCAG 4.5:1 on the declared background, at every colour level.
Theme plugins
A plugin contributes tokens as #rrggbb colours under the family's one plugin shape; register() validates it, theme() merges it, later wins, and fly() holds it to the same contrast gate.