Files
orca/src/shared
Neil d10ab00f3c feat(themes): Match Terminal becomes a real app theme for the whole window (#36567)
* feat(themes): make Match Terminal a real app theme painted at :root

Match Terminal used to be an inline override on three left-column
elements, so the tab bar, right sidebar, status bar, titlebar, menus and
editors kept the built-in palette, and its fixed color mixes became
unreadable on low-contrast palettes.

It is now a light/dark app theme slot value synthesized from the active
terminal palette (read through resolveTerminalPalette, so each mode's
color overrides apply) and painted through the plugin theme pipeline
(derivation, contrast gate, startup cache, Monaco theme). The document
mode follows the terminal background, including onboarding's restore.
The legacy leftSidebarAppearanceMode='match-terminal' value fills the
empty slots on load and on writes (desktop and web), and it is kept
mirrored while a slot matches the terminal so older Orca still matches
its sidebar. The pickers mark the option with a muted "(dynamic)" label.

* fix(onboarding): sync the painted-theme ref in an effect, not during render

* feat(themes): use a lightning icon for Match Terminal's dynamic label

* perf(themes): reuse the Match Terminal theme when its content is unchanged
2026-11-01 01:19:38 -07:00
..
…
…