Skip to content

Open-source AI teammates in Slack, Teams, Discord, Telegram and Mattermost. Self-host it, with any agent harness and any model.

fix(console): give the bare `destructive` colour utilities a token

raullopez-sandbox7b70c869795a
diff --git a/console/apps/switch-console-desktop/src/renderer/index.css b/console/apps/switch-console-desktop/src/renderer/index.css
index d147d710a..fa164dce0 100644
--- a/console/apps/switch-console-desktop/src/renderer/index.css
+++ b/console/apps/switch-console-desktop/src/renderer/index.css
@@ -51,6 +51,10 @@
--color-background-destructive: var(--background-destructive);
--color-foreground-destructive: var(--foreground-destructive);
+ /* The bare `destructive` utilities — text-destructive, border-destructive,
+ bg-destructive/10, aria-invalid:ring-destructive/20 — are used throughout
+ the app and need a colour of their own to resolve against. */
+ --color-destructive: var(--foreground-destructive);
--color-background-quaternary: var(--background-quaternary);
--color-background-quaternary-1: var(--background-quaternary-1);