From b159652e22acb01b11411aebd279a059fdda59de Mon Sep 17 00:00:00 2001 From: Tnixc Date: Tue, 1 Apr 2025 08:40:39 -0400 Subject: [PATCH] =?UTF-8?q?fix(perplexity):=20various=20fixes,=20make=20co?= =?UTF-8?q?lors=20more=20consistent=20with=20orig=E2=80=A6=20(#1670)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- styles/perplexity/catppuccin.user.less | 55 ++++++++++++++++++++++---- 1 file changed, 48 insertions(+), 7 deletions(-) diff --git a/styles/perplexity/catppuccin.user.less b/styles/perplexity/catppuccin.user.less index 28d3a291..24b24fae 100644 --- a/styles/perplexity/catppuccin.user.less +++ b/styles/perplexity/catppuccin.user.less @@ -2,7 +2,7 @@ @name Perplexity Catppuccin @namespace github.com/catppuccin/userstyles/styles/perplexity @homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/perplexity -@version 2024.12.31 +@version 2025.03.25 @updateURL https://github.com/catppuccin/userstyles/raw/main/styles/perplexity/catppuccin.user.less @supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Aperplexity @description Soothing pastel theme for Perplexity @@ -56,7 +56,8 @@ color-scheme: if(@flavor = latte, light, dark); ::selection { - background-color: fade(@accent, 30%); + background-color: fade(@accent, 30%) !important; + color: @text !important; } input, @@ -76,6 +77,9 @@ .bg-alert { background-color: @peach !important; } + .bg-text-100 { + background-color: @text !important; + } .bg-backdrop-lightbox\/95 { background-color: @crust !important; @@ -85,12 +89,16 @@ background-color: @mantle !important; } - .bg-background { + .bg-background, .bg-background-50 { background-color: @base !important; } - .bg-background-300 { - background-color: @crust !important; + .bg-background-100 { + background-color: @base !important; + } + + .bg-background-300, .bg-background-200 { + background-color: @mantle !important; } .bg-background-super-alt { @@ -152,7 +160,7 @@ } .bg-textMain { - background-color: @overlay0 !important; + background-color: @crust !important; } .bg-textMainDark, @@ -335,7 +343,12 @@ background-color: @accent !important; } - [class*="hover:bg-offset"]:hover { + [class*="data-[focused=self]:bg-background-200"]:focus, + [class*="hover:bg-background-200"]:hover { + background-color: @crust !important; + } + + [class*=":hover:bg-offset"]:hover, [class*="hover:bg-offset"]:hover { background-color: @surface0 !important; } @@ -364,6 +377,10 @@ color: @text !important; } + [data-focused="self"] { + background-color: @surface1 !important; + } + .dark\:divide-borderMainDark\/50:where( [data-color-scheme="dark"] .dark\:divide-borderMainDark\/50, [data-color-scheme="dark"] .dark\:divide-borderMainDark\/50 * @@ -386,13 +403,33 @@ color: @accent !important; } + .focus-visible\:bg-offsetPlus:focus-visible { + background-color: @crust !important; + } + *[class*="ring"] { --tw-ring-color: @surface2 !important; --tw-ring-offset-color: @mantle !important; } + .caret-superDuper { + caret-color: @accent !important; + } + .data-\[state\=checked\]\:bg-super[data-state="checked"] { + background-color: @accent !important; + } + /* Additional fixes: */ + .scrollbar-thumb-idle { + --scrollbar-thumb: @surface1 !important; + } + + /* gradient on super long prompt */ + div[style="background: linear-gradient(transparent, currentcolor);"] { + background: linear-gradient(transparent, @base) !important; + } + /* citations */ .citation:hover * { color: @crust !important; @@ -431,6 +468,10 @@ .research-goal-timeline { background-color: @surface1; } + + .\!bg-transparent { + background: transparent !important; + } } }