style: format code with prettier
This commit is contained in:
1 parent
f6e574b0b4
commit
9a688c93de
1 file changed
+24
-12
@@ -12,8 +12,8 @@
|
|||||||
@var select flavor "Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
|
@var select flavor "Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
|
||||||
@var select accentColor "Accent" ["rosewater:Rosewater*", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
|
@var select accentColor "Accent" ["rosewater:Rosewater*", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
|
||||||
==/UserStyle== */
|
==/UserStyle== */
|
||||||
@-moz-document url-prefix("https://mail.google.com") {
|
@-moz-document url-prefix("https://mail.google.com")
|
||||||
|
{
|
||||||
:root {
|
:root {
|
||||||
#catppuccin(@flavor, @accentColor);
|
#catppuccin(@flavor, @accentColor);
|
||||||
}
|
}
|
||||||
@@ -46,7 +46,7 @@
|
|||||||
@base: #eff1f5;
|
@base: #eff1f5;
|
||||||
@mantle: #e6e9ef;
|
@mantle: #e6e9ef;
|
||||||
@crust: #dce0e8;
|
@crust: #dce0e8;
|
||||||
}
|
};
|
||||||
@frappe: {
|
@frappe: {
|
||||||
@rosewater: #f2d5cf;
|
@rosewater: #f2d5cf;
|
||||||
@flamingo: #eebebe;
|
@flamingo: #eebebe;
|
||||||
@@ -74,7 +74,7 @@
|
|||||||
@base: #303446;
|
@base: #303446;
|
||||||
@mantle: #292c3c;
|
@mantle: #292c3c;
|
||||||
@crust: #232634;
|
@crust: #232634;
|
||||||
}
|
};
|
||||||
@macchiato: {
|
@macchiato: {
|
||||||
@rosewater: #f4dbd6;
|
@rosewater: #f4dbd6;
|
||||||
@flamingo: #f0c6c6;
|
@flamingo: #f0c6c6;
|
||||||
@@ -102,7 +102,7 @@
|
|||||||
@base: #24273a;
|
@base: #24273a;
|
||||||
@mantle: #1e2030;
|
@mantle: #1e2030;
|
||||||
@crust: #181926;
|
@crust: #181926;
|
||||||
}
|
};
|
||||||
@mocha: {
|
@mocha: {
|
||||||
@rosewater: #f5e0dc;
|
@rosewater: #f5e0dc;
|
||||||
@flamingo: #f2cdcd;
|
@flamingo: #f2cdcd;
|
||||||
@@ -130,8 +130,8 @@
|
|||||||
@base: #1e1e2e;
|
@base: #1e1e2e;
|
||||||
@mantle: #181825;
|
@mantle: #181825;
|
||||||
@crust: #11111b;
|
@crust: #11111b;
|
||||||
}
|
};
|
||||||
}
|
};
|
||||||
|
|
||||||
#catppuccin(@lookup, @accent) {
|
#catppuccin(@lookup, @accent) {
|
||||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||||
@@ -286,7 +286,8 @@
|
|||||||
.n3 > .CL > .CK {
|
.n3 > .CL > .CK {
|
||||||
color: @text !important;
|
color: @text !important;
|
||||||
}
|
}
|
||||||
.h0, .Dj {
|
.h0,
|
||||||
|
.Dj {
|
||||||
color: @subtext0 !important;
|
color: @subtext0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -310,7 +311,11 @@
|
|||||||
.yO {
|
.yO {
|
||||||
background: @mantle !important;
|
background: @mantle !important;
|
||||||
&:hover {
|
&:hover {
|
||||||
box-shadow: inset 1px 0 0 @surface0, inset -1px 0 0 @surface0, 0 0 4px 0 @base, 0 0 6px 2px @base !important;
|
box-shadow:
|
||||||
|
inset 1px 0 0 @surface0,
|
||||||
|
inset -1px 0 0 @surface0,
|
||||||
|
0 0 4px 0 @base,
|
||||||
|
0 0 6px 2px @base !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/* quick text */
|
/* quick text */
|
||||||
@@ -463,13 +468,20 @@
|
|||||||
.xY > .T-Jo,
|
.xY > .T-Jo,
|
||||||
.T-I .T-I-J3,
|
.T-I .T-I-J3,
|
||||||
td.apU > .T-KT.aXw::before {
|
td.apU > .T-KT.aXw::before {
|
||||||
filter: brightness(0) saturate(100%) invert(28%) sepia(17%) saturate(835%) hue-rotate(196deg) brightness(150%) contrast(75%);
|
filter: brightness(0) saturate(100%) invert(28%) sepia(17%) saturate(835%)
|
||||||
|
hue-rotate(196deg) brightness(150%) contrast(75%);
|
||||||
}
|
}
|
||||||
td.apU > .T-KT.T-KT-Jp::before {
|
td.apU > .T-KT.T-KT-Jp::before {
|
||||||
filter: brightness(0) saturate(100%) invert(28%) sepia(17%) saturate(835%) hue-rotate(337deg) brightness(300%);
|
filter: brightness(0) saturate(100%) invert(28%) sepia(17%) saturate(835%)
|
||||||
|
hue-rotate(337deg) brightness(300%);
|
||||||
}
|
}
|
||||||
/*svgs*/
|
/*svgs*/
|
||||||
.gb_Mc svg, .gb_Rc.gb_Vc svg, .gb_Mc .gb_dd .gb_ld, .gb_Mc .gb_dd .gb_Lc, .gb_Mc .gb_dd .gb_fd, .gb_Rc.gb_Vc .gb_ld {
|
.gb_Mc svg,
|
||||||
|
.gb_Rc.gb_Vc svg,
|
||||||
|
.gb_Mc .gb_dd .gb_ld,
|
||||||
|
.gb_Mc .gb_dd .gb_Lc,
|
||||||
|
.gb_Mc .gb_dd .gb_fd,
|
||||||
|
.gb_Rc.gb_Vc .gb_ld {
|
||||||
color: @subtext0;
|
color: @subtext0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user