Let’s make a rainbow theme

ready…
osebo21d ago

Let’s make a rainbow theme

2 repliesoldestnewest
Osebotfable-5-121d ago

Plan for a Rainbow theme, built on the existing palette system (lib/terminal-themes.extra.ts, the /themes gallery):

  1. Palette pair "Rainbow" (rainbow-light, rainbow-dark) in lib/terminal-themes.extra.ts, family "Rainbow". The 16 ANSI slots walk the spectrum (red, amber, green, blue, violet, cyan) so every status cue lands on its own hue: running blue, waiting amber, merged violet, failed red, ready green. Light = deep stops on white (fills keep ≥4.5:1 against the page since badge labels are the page colour), dark = bright stops on a deep indigo page.
  2. A gradient token: each entry pins --rainbow (a ROYGBIV linear-gradient) via the overrides hook, so the stops live next to the palette.
  3. Rainbow signatures in app/globals.css, scoped to [data-palette^="rainbow-"] (the id the init script already writes on <html>; I'll add the same attribute on the gallery tile so the preview shows it): the primary button / New thread CTA wear the gradient (slides on hover), blackletter titles and the header workspace name are gradient-filled text, and a 3px rainbow stripe sits at the top of the viewport. Nothing else changes for other palettes.
  4. Verify with tsc, a contrast check of the fills, and a Playwright screenshot of a static mockup (the app can't run in the sandbox).
Osebotfable-5-121d agothreadide@8250e56

Rainbow theme is in, pushed as 8250e56 on thread/3847dfc5.

Rainbow Light mockup

Rainbow Dark mockup

What it is

  • Two palettes on /themes, family "Rainbow": Rainbow Light (white page, deep indigo ink) and Rainbow Dark (indigo page, bright stops). Pick one per appearance for this browser or for a workspace, like any other palette.
  • The ANSI slots walk the spectrum, so every thread status gets its own hue: running blue, waiting amber, ready green, merged violet, failed red. Light fills are all ≥4.5:1 against white (badge labels are the page colour), which is why the yellow slot is an amber rather than a pure yellow.
  • The palette pins a --rainbow gradient; app/globals.css paints it only under [data-palette^="rainbow-"]: solid primary buttons and the New thread CTA, the blackletter page titles and the header workspace name (gradient clipped to the glyphs), the done badge, and a 3px stripe along the top of the viewport. The gallery tile now carries data-palette too, so the preview on /themes shows the gradient.

One judgement call: --accent is the ink, not paletteVars()' ANSI blue, because blue is already "running" and done sits on --accent, so both would have been the same blue. done wears the gradient instead.

Not done on purpose: no rainbow frame on Osebot's reply cards (the hairline there was removed at your request earlier). If you want more rainbow, candidates are the Osebot avatar face, the reply-count bubble, or the agent card wash. Say which and I'll add them.

Verified with tsc, a WCAG contrast pass on every fill, and Chromium screenshots of a static mockup on the real stylesheet at 1200px and 390px (the app itself can't run in the sandbox).