Skip to content

Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.

fix(web): restore dark theme palette (#6663)

Eddy Naboulete58cbb9e75e9
diff --git a/apps/web/src/index.css b/apps/web/src/index.css
index f7b93e104..fea03489b 100644
--- a/apps/web/src/index.css
+++ b/apps/web/src/index.css
@@ -1173,8 +1173,10 @@ html[data-mobile-composer-route-transition="true"]::view-transition-old(t3-mobil
compatibility overrides so both navigation implementations receive the
same palette. Success, info, provider, and channel identity colors remain
independent; error, warning, and update roles are themeable below. */
-html[data-theme-id],
-html.dark[data-theme-id] {
+
+/* The non-empty marker adds enough specificity to outrank the generated root
+ dark variant without reintroducing raw `.dark` selectors. */
+html[data-theme-id]:not([data-theme-id=""]) {
--background: var(--app-theme-canvas);
--app-chrome-background: var(--app-theme-chrome);
--toolbar-background: var(--app-theme-toolbar);