fix(perplexity): various fixes, make colors more consistent with orig… (#1670)

This commit is contained in:
Tnixc authored and GitHub committed 2025-04-01 08:40:39 -04:00
1 parent fcc659dd5a
commit b159652e22
1 file changed
+48 -7
+48 -7
View File
@@ -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;
}
}
}