From 537aac820dfca27493655155c0c0bb69bc80412d Mon Sep 17 00:00:00 2001 From: Richard Zink Date: Fri, 20 Nov 2026 13:56:00 +0100 Subject: [PATCH] Factory: theme-specific preparing lamp colour, no menu button in the chat overlay Co-Authored-By: Claude Sonnet 5.5 --- CHANGELOG.md | 7 +++++++ web/src/styles.css | 8 ++++++-- web/src/themes/ash-dark.css | 2 ++ web/src/themes/ash-light.css | 2 ++ web/src/themes/catppuccin-dark.css | 2 ++ web/src/themes/catppuccin-light.css | 2 ++ web/src/themes/coffee-dark.css | 2 ++ web/src/themes/coffee-light.css | 2 ++ web/src/themes/dracula-dark.css | 2 ++ web/src/themes/dracula-light.css | 2 ++ web/src/themes/everforest-dark.css | 2 ++ web/src/themes/everforest-light.css | 2 ++ web/src/themes/github-dark.css | 2 ++ web/src/themes/github-light.css | 2 ++ web/src/themes/gruvbox-dark.css | 2 ++ web/src/themes/gruvbox-light.css | 2 ++ web/src/themes/harbor-dark.css | 2 ++ web/src/themes/harbor-light.css | 2 ++ web/src/themes/kanagawa-dark.css | 2 ++ web/src/themes/kanagawa-light.css | 2 ++ web/src/themes/nord-dark.css | 2 ++ web/src/themes/nord-light.css | 2 ++ web/src/themes/one-dark.css | 2 ++ web/src/themes/one-light.css | 2 ++ web/src/themes/rosepine-dark.css | 2 ++ web/src/themes/rosepine-light.css | 2 ++ web/src/themes/solarized-dark.css | 2 ++ web/src/themes/solarized-light.css | 2 ++ web/src/themes/tintenblau-dark.css | 2 ++ web/src/themes/tintenblau-light.css | 2 ++ web/src/themes/tokyonight-dark.css | 2 ++ web/src/themes/tokyonight-light.css | 2 ++ web/src/themes/vscode-dark.css | 2 ++ web/src/themes/vscode-light.css | 2 ++ web/src/whatsnew.ts | 4 ++++ 35 files changed, 81 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a8bb441..9cff95c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,13 @@ All notable changes to CodeCraft. Versions follow [Semantic Versioning](https://semver.org/); until 1.0, minor versions may contain breaking changes. +## [Unreleased] + +### Changed + +- **Factory: the "preparing" lamp** (checkout, test environment) now has a colour that differs from the theme's accent colour in every theme – the lamp of a running chat keeps the accent. Set per theme with the new variable `--prep`. +- **Factory overlay:** the chat's menu button is hidden in the overlay (it could only close the overlay). + ## [v202611-00074] – 2026-11-20 ### Changed diff --git a/web/src/styles.css b/web/src/styles.css index 051a394..8a6f2d7 100644 --- a/web/src/styles.css +++ b/web/src/styles.css @@ -5263,6 +5263,10 @@ td.fold-indent { background: var(--bg1); border-bottom: 1px solid var(--bg2); } +/* The sidebar is not reachable from the overlay: its menu button would only be confusing. */ +.chat-overlay .menu-btn { + display: none !important; +} .chat-overlay-body { flex: 1; min-height: 0; @@ -5353,10 +5357,10 @@ td.fold-indent { } /* Preparing (checkout, test environment): same lamp, other colour than an active chat. */ .factory-pulse.prep { - background: var(--blue, var(--accent2)); + background: var(--prep, var(--blue, var(--accent2))); } .factory-card.preparing { - border-left: 3px solid var(--blue, var(--accent2)); + border-left: 3px solid var(--prep, var(--blue, var(--accent2))); } @keyframes factory-pulse { 50% { diff --git a/web/src/themes/ash-dark.css b/web/src/themes/ash-dark.css index 0a898db..9cf5dc7 100644 --- a/web/src/themes/ash-dark.css +++ b/web/src/themes/ash-dark.css @@ -25,6 +25,8 @@ --power-on: #8f9a5c; --power-warn: #d9b45a; --power-off: #c15c46; + /* Lamp of a phase that is still being prepared: a colour that differs from --accent */ + --prep: var(--blue); --aqua: #8aa89a; --blue: #7c9aa1; --purple: #b47e99; diff --git a/web/src/themes/ash-light.css b/web/src/themes/ash-light.css index 7ed7f85..1ca538f 100644 --- a/web/src/themes/ash-light.css +++ b/web/src/themes/ash-light.css @@ -25,6 +25,8 @@ --power-on: #5c6631; --power-warn: #9a7413; --power-off: #96392a; + /* Lamp of a phase that is still being prepared: a colour that differs from --accent */ + --prep: var(--blue); --aqua: #3d6b72; --blue: #3d6b72; --purple: #7c4a66; diff --git a/web/src/themes/catppuccin-dark.css b/web/src/themes/catppuccin-dark.css index 952e816..15fb8c4 100644 --- a/web/src/themes/catppuccin-dark.css +++ b/web/src/themes/catppuccin-dark.css @@ -25,6 +25,8 @@ --power-on: #a6e3a1; --power-warn: #f9e2af; --power-off: #f38ba8; + /* Lamp of a phase that is still being prepared: a colour that differs from --accent */ + --prep: var(--power-warn); --aqua: #94e2d5; --blue: #89b4fa; --purple: #f5c2e7; diff --git a/web/src/themes/catppuccin-light.css b/web/src/themes/catppuccin-light.css index 49dd5a6..38e073d 100644 --- a/web/src/themes/catppuccin-light.css +++ b/web/src/themes/catppuccin-light.css @@ -25,6 +25,8 @@ --power-on: #40a02b; --power-warn: #df8e1d; --power-off: #d20f39; + /* Lamp of a phase that is still being prepared: a colour that differs from --accent */ + --prep: var(--power-warn); --aqua: #179299; --blue: #1e66f5; --purple: #ea76cb; diff --git a/web/src/themes/coffee-dark.css b/web/src/themes/coffee-dark.css index b5b7d65..a5a868e 100644 --- a/web/src/themes/coffee-dark.css +++ b/web/src/themes/coffee-dark.css @@ -25,6 +25,8 @@ --power-on: #a9b86a; --power-warn: #e8c36a; --power-off: #d4694f; + /* Lamp of a phase that is still being prepared: a colour that differs from --accent */ + --prep: var(--blue); --aqua: #9fb8a8; --blue: #a3b4c7; --purple: #cf90a2; diff --git a/web/src/themes/coffee-light.css b/web/src/themes/coffee-light.css index fefc3f1..7efaf99 100644 --- a/web/src/themes/coffee-light.css +++ b/web/src/themes/coffee-light.css @@ -25,6 +25,8 @@ --power-on: #4f6b00; --power-warn: #a8780a; --power-off: #a93a2e; + /* Lamp of a phase that is still being prepared: a colour that differs from --accent */ + --prep: var(--aqua); --aqua: #3f6b5e; --blue: #8e2d53; --purple: #7a003b; diff --git a/web/src/themes/dracula-dark.css b/web/src/themes/dracula-dark.css index 3a0d1df..08d882e 100644 --- a/web/src/themes/dracula-dark.css +++ b/web/src/themes/dracula-dark.css @@ -25,6 +25,8 @@ --power-on: #50fa7b; --power-warn: #f1fa8c; --power-off: #ff5555; + /* Lamp of a phase that is still being prepared: a colour that differs from --accent */ + --prep: var(--power-warn); --aqua: #8be9fd; --blue: #8be9fd; --purple: #ff79c6; diff --git a/web/src/themes/dracula-light.css b/web/src/themes/dracula-light.css index 932672f..47cd0ce 100644 --- a/web/src/themes/dracula-light.css +++ b/web/src/themes/dracula-light.css @@ -25,6 +25,8 @@ --power-on: #14710a; --power-warn: #846e15; --power-off: #cb3a2a; + /* Lamp of a phase that is still being prepared: a colour that differs from --accent */ + --prep: var(--power-warn); --aqua: #036a96; --blue: #036a96; --purple: #a3144d; diff --git a/web/src/themes/everforest-dark.css b/web/src/themes/everforest-dark.css index 8176c6f..8cd2201 100644 --- a/web/src/themes/everforest-dark.css +++ b/web/src/themes/everforest-dark.css @@ -25,6 +25,8 @@ --power-on: #a7c080; --power-warn: #dbbc7f; --power-off: #e67e80; + /* Lamp of a phase that is still being prepared: a colour that differs from --accent */ + --prep: var(--purple); --aqua: #83c092; --blue: #7fbbb3; --purple: #d699b6; diff --git a/web/src/themes/everforest-light.css b/web/src/themes/everforest-light.css index ba9807a..22a200f 100644 --- a/web/src/themes/everforest-light.css +++ b/web/src/themes/everforest-light.css @@ -25,6 +25,8 @@ --power-on: #8da101; --power-warn: #dfa000; --power-off: #f85552; + /* Lamp of a phase that is still being prepared: a colour that differs from --accent */ + --prep: var(--blue); --aqua: #35a77c; --blue: #3a94c5; --purple: #df69ba; diff --git a/web/src/themes/github-dark.css b/web/src/themes/github-dark.css index 400b0be..95b8dca 100644 --- a/web/src/themes/github-dark.css +++ b/web/src/themes/github-dark.css @@ -25,6 +25,8 @@ --power-on: #3fb950; --power-warn: #d29922; --power-off: #f85149; + /* Lamp of a phase that is still being prepared: a colour that differs from --accent */ + --prep: var(--power-warn); --aqua: #39c5cf; --blue: #58a6ff; --purple: #bc8cff; diff --git a/web/src/themes/github-light.css b/web/src/themes/github-light.css index 50d0d74..041bc01 100644 --- a/web/src/themes/github-light.css +++ b/web/src/themes/github-light.css @@ -25,6 +25,8 @@ --power-on: #1a7f37; --power-warn: #9a6700; --power-off: #d1242f; + /* Lamp of a phase that is still being prepared: a colour that differs from --accent */ + --prep: var(--power-warn); --aqua: #1b7c83; --blue: #0969da; --purple: #8250df; diff --git a/web/src/themes/gruvbox-dark.css b/web/src/themes/gruvbox-dark.css index 4a469bf..ee7ca02 100644 --- a/web/src/themes/gruvbox-dark.css +++ b/web/src/themes/gruvbox-dark.css @@ -26,6 +26,8 @@ --power-on: #b8bb26; --power-warn: #fabd2f; --power-off: #fb4934; + /* Lamp of a phase that is still being prepared: a colour that differs from --accent */ + --prep: var(--blue); --aqua: #8ec07c; --blue: #83a598; --purple: #d3869b; diff --git a/web/src/themes/gruvbox-light.css b/web/src/themes/gruvbox-light.css index de259bc..c6fb4d2 100644 --- a/web/src/themes/gruvbox-light.css +++ b/web/src/themes/gruvbox-light.css @@ -25,6 +25,8 @@ --power-on: #79740e; --power-warn: #b57614; --power-off: #9d0006; + /* Lamp of a phase that is still being prepared: a colour that differs from --accent */ + --prep: var(--blue); --aqua: #427b58; --blue: #076678; --purple: #8f3f71; diff --git a/web/src/themes/harbor-dark.css b/web/src/themes/harbor-dark.css index a4001ab..884d327 100644 --- a/web/src/themes/harbor-dark.css +++ b/web/src/themes/harbor-dark.css @@ -25,6 +25,8 @@ --power-on: #8fae72; --power-warn: #e0b350; --power-off: #f44336; + /* Lamp of a phase that is still being prepared: a colour that differs from --accent */ + --prep: var(--blue); --aqua: #8a9ba6; --blue: #77838a; --purple: #e58980; diff --git a/web/src/themes/harbor-light.css b/web/src/themes/harbor-light.css index 9f5c4fa..7da2898 100644 --- a/web/src/themes/harbor-light.css +++ b/web/src/themes/harbor-light.css @@ -25,6 +25,8 @@ --power-on: #5a7a43; --power-warn: #a87b1a; --power-off: #b14752; + /* Lamp of a phase that is still being prepared: a colour that differs from --accent */ + --prep: var(--power-warn); --aqua: #3d727d; --blue: #4c6c94; --purple: #8a5b81; diff --git a/web/src/themes/kanagawa-dark.css b/web/src/themes/kanagawa-dark.css index 8d0422f..496ab59 100644 --- a/web/src/themes/kanagawa-dark.css +++ b/web/src/themes/kanagawa-dark.css @@ -25,6 +25,8 @@ --power-on: #98bb6c; --power-warn: #e6c384; --power-off: #e46876; + /* Lamp of a phase that is still being prepared: a colour that differs from --accent */ + --prep: var(--power-warn); --aqua: #7aa89f; --blue: #7fb4ca; --purple: #957fb8; diff --git a/web/src/themes/kanagawa-light.css b/web/src/themes/kanagawa-light.css index 9066621..9ae1529 100644 --- a/web/src/themes/kanagawa-light.css +++ b/web/src/themes/kanagawa-light.css @@ -25,6 +25,8 @@ --power-on: #6f894e; --power-warn: #b07a00; --power-off: #c84053; + /* Lamp of a phase that is still being prepared: a colour that differs from --accent */ + --prep: var(--power-warn); --aqua: #597b75; --blue: #4d699b; --purple: #624c83; diff --git a/web/src/themes/nord-dark.css b/web/src/themes/nord-dark.css index 6520fdb..ffdc62f 100644 --- a/web/src/themes/nord-dark.css +++ b/web/src/themes/nord-dark.css @@ -25,6 +25,8 @@ --power-on: #a3be8c; --power-warn: #ebcb8b; --power-off: #bf616a; + /* Lamp of a phase that is still being prepared: a colour that differs from --accent */ + --prep: var(--power-warn); --aqua: #8fbcbb; --blue: #81a1c1; --purple: #b48ead; diff --git a/web/src/themes/nord-light.css b/web/src/themes/nord-light.css index f74335d..6f7d281 100644 --- a/web/src/themes/nord-light.css +++ b/web/src/themes/nord-light.css @@ -25,6 +25,8 @@ --power-on: #5f7d48; --power-warn: #9a7b2f; --power-off: #a9434d; + /* Lamp of a phase that is still being prepared: a colour that differs from --accent */ + --prep: var(--power-warn); --aqua: #4d8a89; --blue: #5e81ac; --purple: #8f6a8a; diff --git a/web/src/themes/one-dark.css b/web/src/themes/one-dark.css index 5910038..684bd77 100644 --- a/web/src/themes/one-dark.css +++ b/web/src/themes/one-dark.css @@ -25,6 +25,8 @@ --power-on: #98c379; --power-warn: #e5c07b; --power-off: #e06c75; + /* Lamp of a phase that is still being prepared: a colour that differs from --accent */ + --prep: var(--power-warn); --aqua: #56b6c2; --blue: #61afef; --purple: #c678dd; diff --git a/web/src/themes/one-light.css b/web/src/themes/one-light.css index 691814d..f3ec004 100644 --- a/web/src/themes/one-light.css +++ b/web/src/themes/one-light.css @@ -25,6 +25,8 @@ --power-on: #50a14f; --power-warn: #c18401; --power-off: #e45649; + /* Lamp of a phase that is still being prepared: a colour that differs from --accent */ + --prep: var(--power-warn); --aqua: #0184bc; --blue: #4078f2; --purple: #a626a4; diff --git a/web/src/themes/rosepine-dark.css b/web/src/themes/rosepine-dark.css index 0585cb9..9de203b 100644 --- a/web/src/themes/rosepine-dark.css +++ b/web/src/themes/rosepine-dark.css @@ -25,6 +25,8 @@ --power-on: #95b88f; --power-warn: #f6c177; --power-off: #eb6f92; + /* Lamp of a phase that is still being prepared: a colour that differs from --accent */ + --prep: var(--power-warn); --aqua: #9ccfd8; --blue: #31748f; --purple: #c4a7e7; diff --git a/web/src/themes/rosepine-light.css b/web/src/themes/rosepine-light.css index fcdaf9a..6cbd5f5 100644 --- a/web/src/themes/rosepine-light.css +++ b/web/src/themes/rosepine-light.css @@ -25,6 +25,8 @@ --power-on: #5e8f60; --power-warn: #c98a1b; --power-off: #b4637a; + /* Lamp of a phase that is still being prepared: a colour that differs from --accent */ + --prep: var(--power-warn); --aqua: #56949f; --blue: #286983; --purple: #907aa9; diff --git a/web/src/themes/solarized-dark.css b/web/src/themes/solarized-dark.css index 1b34fe3..ee1be00 100644 --- a/web/src/themes/solarized-dark.css +++ b/web/src/themes/solarized-dark.css @@ -25,6 +25,8 @@ --power-on: #859900; --power-warn: #b58900; --power-off: #dc322f; + /* Lamp of a phase that is still being prepared: a colour that differs from --accent */ + --prep: var(--purple); --aqua: #2aa198; --blue: #268bd2; --purple: #6c71c4; diff --git a/web/src/themes/solarized-light.css b/web/src/themes/solarized-light.css index 80bf5d3..58ec60a 100644 --- a/web/src/themes/solarized-light.css +++ b/web/src/themes/solarized-light.css @@ -25,6 +25,8 @@ --power-on: #859900; --power-warn: #b58900; --power-off: #dc322f; + /* Lamp of a phase that is still being prepared: a colour that differs from --accent */ + --prep: var(--purple); --aqua: #2aa198; --blue: #268bd2; --purple: #6c71c4; diff --git a/web/src/themes/tintenblau-dark.css b/web/src/themes/tintenblau-dark.css index 8c41b44..9f21b92 100644 --- a/web/src/themes/tintenblau-dark.css +++ b/web/src/themes/tintenblau-dark.css @@ -25,6 +25,8 @@ --power-on: #8fb98a; --power-warn: #e0b860; --power-off: #d47a6a; + /* Lamp of a phase that is still being prepared: a colour that differs from --accent */ + --prep: var(--power-warn); --aqua: #96b4bc; --blue: #7aa0cc; --purple: #c896b2; diff --git a/web/src/themes/tintenblau-light.css b/web/src/themes/tintenblau-light.css index e77c26a..6b6de85 100644 --- a/web/src/themes/tintenblau-light.css +++ b/web/src/themes/tintenblau-light.css @@ -25,6 +25,8 @@ --power-on: #4a6b3a; --power-warn: #9a7218; --power-off: #8a3028; + /* Lamp of a phase that is still being prepared: a colour that differs from --accent */ + --prep: var(--power-warn); --aqua: #3a5a6a; --blue: #3a5a8a; --purple: #5a4a72; diff --git a/web/src/themes/tokyonight-dark.css b/web/src/themes/tokyonight-dark.css index f09c2d5..62a89b9 100644 --- a/web/src/themes/tokyonight-dark.css +++ b/web/src/themes/tokyonight-dark.css @@ -25,6 +25,8 @@ --power-on: #9ece6a; --power-warn: #e0af68; --power-off: #f7768e; + /* Lamp of a phase that is still being prepared: a colour that differs from --accent */ + --prep: var(--power-warn); --aqua: #73daca; --blue: #7aa2f7; --purple: #bb9af7; diff --git a/web/src/themes/tokyonight-light.css b/web/src/themes/tokyonight-light.css index 0d224d7..6980112 100644 --- a/web/src/themes/tokyonight-light.css +++ b/web/src/themes/tokyonight-light.css @@ -25,6 +25,8 @@ --power-on: #587539; --power-warn: #8c6c3e; --power-off: #f52a65; + /* Lamp of a phase that is still being prepared: a colour that differs from --accent */ + --prep: var(--power-warn); --aqua: #118c74; --blue: #2e7de9; --purple: #9854f1; diff --git a/web/src/themes/vscode-dark.css b/web/src/themes/vscode-dark.css index a8482d4..908139e 100644 --- a/web/src/themes/vscode-dark.css +++ b/web/src/themes/vscode-dark.css @@ -25,6 +25,8 @@ --power-on: #89d185; --power-warn: #cca700; --power-off: #f14c4c; + /* Lamp of a phase that is still being prepared: a colour that differs from --accent */ + --prep: var(--power-warn); --aqua: #4ec9b0; --blue: #3794ff; --purple: #c586c0; diff --git a/web/src/themes/vscode-light.css b/web/src/themes/vscode-light.css index 1015b56..a834263 100644 --- a/web/src/themes/vscode-light.css +++ b/web/src/themes/vscode-light.css @@ -25,6 +25,8 @@ --power-on: #388a34; --power-warn: #bf8803; --power-off: #cd3131; + /* Lamp of a phase that is still being prepared: a colour that differs from --accent */ + --prep: var(--power-warn); --aqua: #267f99; --blue: #005fb8; --purple: #af00db; diff --git a/web/src/whatsnew.ts b/web/src/whatsnew.ts index 91144da..854c91d 100644 --- a/web/src/whatsnew.ts +++ b/web/src/whatsnew.ts @@ -3,6 +3,10 @@ * under "unreleased"; scripts/release.sh renames the key to the release version. */ export const WHATS_NEW: Record = { + unreleased: { + en: ["Factory: the lamp of a phase being prepared now differs in colour from the accent in every theme"], + de: ["Factory: die Lampe einer Phase in Vorbereitung unterscheidet sich in jedem Theme farblich vom Akzent"], + }, "202611-00074": { en: ["Factory: Merge and Close buttons on the issue card – merge after a positive acceptance, close after the merge"], de: ["Factory: Merge- und Schließen-Knopf auf der Issue-Karte – Merge nach erfolgreicher Abnahme, Schließen nach dem Merge"],