fix(google): unthemed elements (#1256)
* fix(google): unthemed elements * bump version+formatting * optimize svg
This commit is contained in:
1 parent
8e4595e17b
commit
a1f3fefcbf
1 file changed
+83
-1
@@ -2,7 +2,7 @@
|
||||
@name Google Catppuccin
|
||||
@namespace github.com/catppuccin/userstyles/styles/google
|
||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/google
|
||||
@version 0.2.6
|
||||
@version 0.2.7
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/google/catppuccin.user.css
|
||||
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Agoogle
|
||||
@description Soothing pastel theme for Google
|
||||
@@ -78,6 +78,8 @@
|
||||
--uv-styles-color-surface: @crust;
|
||||
--uv-styles-color-tertiary: @surface0;
|
||||
--uv-styles-color-secondary: fade(@blue, 25%);
|
||||
--uv-styles-color-primary: @base;
|
||||
--uv-styles-color-on-primary: @blue;
|
||||
--uv-styles-color-text-primary: @blue;
|
||||
--uv-styles-color-icon-default: @text;
|
||||
--uv-styles-color-text-emphasis: @text;
|
||||
@@ -91,6 +93,7 @@
|
||||
--YLNNHc: @text;
|
||||
--gS5jXb: @surface0;
|
||||
--EpFNW: @mantle;
|
||||
--XKMDxc: @mantle;
|
||||
--tefdc5886c2f04483: @text;
|
||||
--te8f1ea4d4928be48: @text !important;
|
||||
--ta884a309a24f44f4: @subtext0 !important;
|
||||
@@ -108,6 +111,9 @@
|
||||
--tc9db399ed82142e1: @green !important;
|
||||
--uv-styles-color-text-default: @subtext0 !important;
|
||||
--uv-styles-color-review-stars: @yellow !important;
|
||||
--gm3-sys-color-primary: @surface0;
|
||||
--gm3-sys-color-on-primary: @blue;
|
||||
--Nsm0ce: @blue;
|
||||
}
|
||||
|
||||
/* header background */
|
||||
@@ -957,6 +963,7 @@
|
||||
.GKS7s {
|
||||
background: @surface0;
|
||||
border-color: @surface1;
|
||||
box-shadow: inset 0 0 0 1px @surface2;
|
||||
}
|
||||
.GKS7s:hover {
|
||||
background-color: @surface1 !important;
|
||||
@@ -1870,6 +1877,81 @@
|
||||
.vNdLpe:visited {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
// "Looking for results in English?" popup
|
||||
[style*="background:#1f1000;border:1px solid #502900"] {
|
||||
background: @mantle !important;
|
||||
border-color: @surface0 !important;
|
||||
box-shadow: 0 2px 4px @mantle !important;
|
||||
[style*="color:#bdc1c6"] {
|
||||
color: @text !important;
|
||||
}
|
||||
}
|
||||
// translate this page label
|
||||
.eFM0qc.BCF2pd {
|
||||
background: @base !important;
|
||||
}
|
||||
// expand related question icon
|
||||
.aj35ze {
|
||||
@svg: escape(
|
||||
'<svg focusable="false" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="@{text}" d="M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"/></svg>'
|
||||
);
|
||||
background-image: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
// tabs
|
||||
[selected].YmvwI {
|
||||
color: @text;
|
||||
border-bottom-color: @text;
|
||||
}
|
||||
.YmvwI {
|
||||
color: @subtext0;
|
||||
}
|
||||
// search bar buttons popups
|
||||
[style^="background: rgb(32, 33, 36); border: 1px solid rgb(60, 64, 67);"] {
|
||||
background: @mantle !important;
|
||||
border-color: @overlay0 !important;
|
||||
box-shadow: @mantle 1px 2px 4px !important;
|
||||
color: @text !important;
|
||||
[style^="border-style: solid;"] {
|
||||
border-color: @overlay0 transparent !important;
|
||||
}
|
||||
}
|
||||
// google apps button
|
||||
.gb_F .gb_E,
|
||||
.gb_F .gb_D {
|
||||
fill: @text;
|
||||
}
|
||||
// translate popup
|
||||
.t4wgMc {
|
||||
background: @mantle;
|
||||
}
|
||||
.ELfqBe:hover,
|
||||
.ELfqBe:focus {
|
||||
background: @surface0;
|
||||
}
|
||||
.JFeuTc {
|
||||
color: @text;
|
||||
}
|
||||
// skip to content
|
||||
.S6VXfe {
|
||||
background: @base;
|
||||
}
|
||||
// selected image
|
||||
.qyKxnc.FnEtTd .srrRv {
|
||||
background: fade(@blue, 10%);
|
||||
}
|
||||
// images page sticky suggestions header
|
||||
.JiJthb,
|
||||
.JiJthb .GKS7s:not([selected]) {
|
||||
background: @mantle;
|
||||
}
|
||||
.JiJthb .F9Idpe.vezEod {
|
||||
background: linear-gradient(
|
||||
to left,
|
||||
transparent 0%,
|
||||
@mantle 60%,
|
||||
@mantle
|
||||
);
|
||||
}
|
||||
color: @subtext0;
|
||||
}
|
||||
@media (prefers-color-scheme: light) {
|
||||
|
||||
Reference in new issue
Block a user