OpenProgram Docs

UI unification work

Web App (apps/web/), CLI and TUI (apps/cli/), docs site (scripts/docs_site/), marketing page (website/index.html) and Desktop chrome (apps/desktop/main.js) grew separately.

Open work

Item, priorityNowNext
Web token fallback
high
:root fallback in themes/fallback.css has beige-dark surfaces; design/color.css gives --accent-orange: #6ea8fe, neutral bluePick beige or neutral and reconcile
CLI and TUI
medium
TUI primary is #d97757 whatever the Web theme (apps/cli/src/theme/themes.ts). The Rich banner uses bright_blue (openprogram/interfaces/cli/repl/banner.py).Read the Web preference, or document a separate brand
Buttons
low
button.tsx is the official radix-nova Button; manage-page tabs still size themselves from --ui-button-h and --ui-button-radiusMove hand-sized tabs onto Button sizes
Naming
low
--accent-orange also carries blue and teal; shadcn --accent is the ink at 9%, not the primary colourRename, for example --accent-primary
Kits and hard-coded colours
low
@base-ui-components/react is still a dependency though no source imports it. lib/effort/effort-color.ts computes its own HSL. --browser-glyph-secondary is #8b5cf6.Remove the dependency; bring these onto theme tokens. Tailwind is v4 only, themed in @theme.

Order: Web fallback, CLI and TUI, buttons and naming, kits. The marketing page uses the App's light and dark tokens, panels, buttons and composer. The docs site is independent: blue on white (--acc: #2f5fd0, dark #86a8f5), own key op-docs-theme, light and dark only.

Settings Appearance

Settings opens on General. Everything about the look is on Appearance (appearance-section.tsx): colours and theme, text, conversation view and width, tab drag effects, the browser's bookmarks bar, custom CSS. Pack, accent and overlay contract: Theme system.

ControlBehaviour
ModeAuto follows the system; it is a mode, not a theme
Vivid strip colourEvery Vivid surface, text tier and default accent is an oklch(from var(--tabrow-seed) …) tone, like Chrome's colour themes
AccentColour input, presets from each pack's default --accent-orange, Reset to theme default
OverlayEnable custom CSS; Insert template writes a starter for html and the current data-theme; Clear empties it
Migration of the combined agentic_theme
StoredBecomes
autobeige + auto
beige-dark beige-lightbeige + dark or light
dark light (schema 2)neutral + dark or light
aurora aurora-lightaurora + dark or light
vivid vivid-lightvivid + dark or light
custom custom-lightbeige + the saved mode; overlay on when custom CSS is saved

Desktop chrome

The Electron window's first pixel matches the resolved web theme: BrowserWindow starts with that theme's --bg-primary.

AspectBehaviour
ResolutionSchema-3 keys plus legacy agentic_theme. See which source wins. auto follows nativeTheme.shouldUseDarkColors.
Colour mapapps/desktop/main/windows/theme-chrome.js copies the values from the theme CSS. custom ids resolve to the beige pair.
Error and listing pagesSame chrome tokens
Theme changeThe renderer calls theme.setChrome, updating every BrowserWindow background so the next show or reload does not flash
Window stateUnaffected; see window state
Last updated · 2026-11-25