refactor(tree-wide): consistent metadata (#557)

* ci(lint): quick fix

* refactor(tree-wide): consistent metadata

* refactor: more

* refactor: accent-color

* fix: accentColor issues

* fix: logger line numbers

* fix: svg colors

* fix(google): add accent-color line

---------

Co-authored-by: Isabel <[email protected]>
This commit is contained in:
uncenterandIsabel authored and GitHub committed 2024-02-25 16:50:10 +00:00
1 parent 74eaa37e19
commit ded7419d5c
71 files changed
+798 -753

No files matched your search

+29 -28
View File
@@ -10,10 +10,11 @@
@license MIT
@preprocessor less
@var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frappe", "macchiato:Macchiato", "mocha:Mocha"]
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappe", "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 lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha"]
@var select darkFlavor "Dark 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"]
==/UserStyle== */
@-moz-document domain("wikiwand.com") {
.root_light__Inhun {
#catppuccin(@lightFlavor, @accentColor);
@@ -61,14 +62,14 @@
@base: @catppuccin[@@lookup][@base];
@mantle: @catppuccin[@@lookup][@mantle];
@crust: @catppuccin[@@lookup][@crust];
@accent-Color: @catppuccin[@@lookup][@@accent];
@accent-color: @catppuccin[@@lookup][@@accent];
--color-bg: @base;
--color-text: @text;
--color-grey: @subtext0;
--color-table: @surface0;
--color-table-border: @surface0;
--color-link: @accent-Color;
--color-link: @accent-color;
--toc-bg: @mantle;
--toc-text: @text;
--toc-border: @crust;
@@ -111,7 +112,7 @@
position: relative;
}
.checkbox_checkbox__uXwIZ::before {
background-color: @accent-Color;
background-color: @accent-color;
}
svg.audio_icon__eZ5Bx {
color: @text;
@@ -138,17 +139,17 @@
color: @text;
}
.toggle_bg__Qn4Oc {
background-color: @accent-Color;
background-color: @accent-color;
}
.toggle_label__y7mDQ.toggle_active__l_k3F {
color: @base;
}
.toggle_label__y7mDQ:not(.toggle_active__l_k3F):hover {
color: @accent-Color;
color: @accent-color;
}
.themeBtn_wrapper__KTkHk.themeBtn_active__4gb_I,
.themeBtn_wrapper__KTkHk:hover {
color: @accent-Color;
color: @accent-color;
}
.themeBtn_label__GyvdH {
color: @subtext1;
@@ -171,15 +172,15 @@
}
.themeBtn_wrapper__KTkHk.themeBtn_active__4gb_I
.themeBtn_demoWrapper__fdi7G {
border-color: @accent-Color !important;
border-color: @accent-color !important;
}
div.themeBtn_wrapper__KTkHk:nth-child(3)
> p:nth-child(2)
> span:nth-child(1)::before {
background-color: @accent-Color;
background-color: @accent-color;
}
.item_item__uLhiz.item_active__4kaIV {
color: @accent-Color;
color: @accent-color;
}
.item_item__uLhiz.item_active__4kaIV,
.item_item__uLhiz:hover {
@@ -197,7 +198,7 @@
border-color: transparent !important;
}
.action_action___vLQg {
color: @accent-Color;
color: @accent-color;
}
.share_btn__9IJpe {
color: @text;
@@ -209,7 +210,7 @@
}
.footer_socialWrapper__R1iSQ *:hover,
.footer_link__TA4rr:hover {
color: @accent-Color;
color: @accent-color;
}
.list_wrapper__TYM2l,
.input_wrapper__aeypb {
@@ -230,7 +231,7 @@
}
.item_item__jj0Ue:hover {
background-color: @surface2 !important;
border-color: @accent-Color;
border-color: @accent-color;
}
.modal_header__t094_ {
border-color: @surface1;
@@ -241,7 +242,7 @@
background-color: @surface2;
}
.button_btn__ln0Hv {
color: @accent-Color;
color: @accent-color;
background-color: @surface0;
}
@@ -262,11 +263,11 @@
}
.dropdown_item__yrn67:hover {
background-color: @surface2;
color: @accent-Color;
border-color: @accent-Color !important;
color: @accent-color;
border-color: @accent-color !important;
}
.audio_dot__jeWOr.audio_active__li6PM {
background-color: @accent-Color;
background-color: @accent-color;
}
.audio_dot__jeWOr {
background-color: @surface2;
@@ -283,7 +284,7 @@
}
.gallery_icon__7LOBi:hover {
background-color: @overlay0;
color: @accent-Color;
color: @accent-color;
}
.gallery_nav__BEeM3 {
background-color: @base;
@@ -305,7 +306,7 @@
}
.list_loading__j43_R {
color: @accent-Color;
color: @accent-color;
}
.info_wrapper__HpdJH,
.info_arrow__ehjUI {
@@ -317,7 +318,7 @@
background: linear-gradient(180deg, hsla(0, 0%, 98%, 0), @surface1 90%);
}
.list_item__VVizU.list_active__ahAYX {
color: @accent-Color;
color: @accent-color;
}
.item_star__arENF {
color: @subtext1;
@@ -329,7 +330,7 @@
color: @text;
}
.action_action___vLQg:not(.action_limit__u0EDs):hover.action_remove__z6g_k {
color: @accent-Color;
color: @accent-color;
}
.item_remove__f1A5k {
background-color: @surface1;
@@ -343,10 +344,10 @@
border-color: @surface0 !important;
}
.summary_wordtuneWrapper__21QxG > img:nth-child(2) {
background-color: @accent-Color;
background-color: @accent-color;
}
code > a {
color: @accent-Color !important;
color: @accent-color !important;
}
table * {
background-color: @surface0 !important;
@@ -358,14 +359,14 @@
border-color: transparent !important;
}
a.wl {
color: @accent-Color !important;
color: @accent-color !important;
}
.summary_footer__Lk6z7 > span:nth-child(1),
svg.icon_icon__0vohI,
.icon_icon__0vohI.input_icon__He3sV,
svg.icon_icon__0vohI:nth-child(2) > use:nth-child(1) {
color: @accent-Color;
fill: @accent-Color;
color: @accent-color;
fill: @accent-color;
}
.wikitable tr::before {
background-color: @surface0 !important;