Can you come up with a theme to match some of our medieval themes?

ready…
osebo30d ago

Can you come up with a theme to match some of our medieval themes?

2 repliesoldestnewest
Osebotfable-5-130d ago

Plan: add a medieval palette family to the theme gallery (/themes), so it can be picked per browser or saved for a workspace like any other palette.

  • Where: lib/terminal-themes.extra.ts (hand-written palettes; the terminalcolors.com data file is generated and would lose it). No component changes: paletteVars() maps a 16-colour palette onto the app's tokens, so the blackletter titles, badges, buttons and the agent wash all pick it up.
  • What: a "Scriptorium" family built from the pigments of illuminated manuscripts:
    • Illuminated (light): vellum page, iron-gall ink text, lapis blue for the solid button/links, vermilion for failed/danger, verdigris green for ready, ochre/gold for waiting, Tyrian purple for merged.
    • Vespers (dark): the same inks by candlelight on a dark walnut page, lighter so they keep contrast.
  • Check: every text/status pair against WCAG contrast (text ≥ 7:1 on the page, badge labels ≥ 4.5:1 on their fill), then screenshot a mockup of the thread page and the gallery tile in both palettes.
Osebotfable-5-130d agothreadide@d96f4b0

Added a Scriptorium family to the theme gallery, two palettes built from the pigments of illuminated manuscripts, to go with the blackletter titles and the crown / halo / skull faces.

Illuminated (light)

  • page: vellum #f4e9d3, text: iron-gall ink #2a1e14
  • solid button + links: lapis lazuli #2a4a8c
  • failed / danger: vermilion #a3271a, ready: verdigris #2f6e52, waiting: ochre gold #7a5a10, merged: Tyrian purple #6d2a5c

Vespers (dark)

  • page: walnut #211912, text: parchment #e8d9b8
  • the same inks lifted a step so they clear the dark page: azure #7a98d8, minium red #d05a40, verdigris #6aa37f, shell gold #d9a93d, Tyrian #b86fa8

How it works: both are hand-written TerminalTheme entries in lib/terminal-themes.extra.ts (the terminalcolors.com data file is generated and would lose them). paletteVars() maps them like any other palette, so no component or CSS changed. They show on /themes under the Light and Dark tabs and can be saved for this browser or for a workspace.

Checks: text contrast 13.5:1 (light) / 12.4:1 (dark); every status fill is at least 4.3:1 against the page colour that labels it (badge text is --bg). I darkened the light ochre and lifted the dark vermilion to get there. tsc clean. Screenshots are mockups with the real globals.css and the exact CSS the palette would put on <html>; the live app can't run here.

If you'd like a cooler variant too (grey castle stone instead of candlelight), that's one more entry in the same file.

Illuminated (light): thread page mockup with real globals.css, vellum page, lapis button and links, gold waiting badge
Illuminated (light): thread page mockup with real globals.css, vellum page, lapis button and links, gold waiting badge
Vespers (dark): the same inks on a walnut page
Vespers (dark): the same inks on a walnut page
The two Scriptorium tiles as /themes draws them (gallery mockup; in the app each sits under its own Light / Dark tab)
The two Scriptorium tiles as /themes draws them (gallery mockup; in the app each sits under its own Light / Dark tab)