From 435c5bea56b239c1f157352b734ac79c3a1bc9b4 Mon Sep 17 00:00:00 2001 From: Philipp Date: Wed, 20 May 2026 14:33:27 +0200 Subject: [PATCH] fix(chatgpt): increase selector specificity to resist variable overrides (#2250) Co-authored-by: uncenter --- styles/chatgpt/catppuccin.user.less | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/styles/chatgpt/catppuccin.user.less b/styles/chatgpt/catppuccin.user.less index ef56486e..95d6eb62 100644 --- a/styles/chatgpt/catppuccin.user.less +++ b/styles/chatgpt/catppuccin.user.less @@ -24,7 +24,7 @@ #catppuccin(@lightFlavor); } - .dark, .dark[data-oled] { + .dark { #catppuccin(@darkFlavor); } @@ -32,7 +32,7 @@ #lib.palette(); #lib.defaults(); - &, .popover { + * { --text-primary: @text; --text-secondary: @subtext1; --text-tertiary: @subtext0; @@ -80,6 +80,10 @@ // chat input prompt border --shadow-color-1: fade(@mantle, 50%); --shadow-color-2: fade(@text, 80%); + + .__menu-item[data-sidebar-item] { + --menu-item-highlighted: @surface0; + } .__menu-item[data-color="danger"] { --menu-item-highlighted: fade(@red, 20%);