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

+7 -6
View File
@@ -14,8 +14,9 @@
@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('nixos.wiki') {
#catppuccin(@lookup, @accent-color) {
#catppuccin(@lookup, @accent) {
@rosewater: @catppuccin[@@lookup][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo];
@pink: @catppuccin[@@lookup][@pink];
@@ -42,7 +43,7 @@
@base: @catppuccin[@@lookup][@base];
@mantle: @catppuccin[@@lookup][@mantle];
@crust: @catppuccin[@@lookup][@crust];
@accent: @catppuccin[@@lookup][@@accent-color];
@accent-color: @catppuccin[@@lookup][@@accent];
:root {
color-scheme: if(@lookup = latte, light, dark);
@@ -300,7 +301,7 @@
}
color: @text;
.highlight {
color: @accent;
color: @accent-color;
}
}
.suggestions-results {
@@ -310,7 +311,7 @@
border-color: @surface0 !important;
background-color: @mantle;
&:hover {
background-color: mix(@accent, @mantle, 15%);
background-color: mix(@accent-color, @mantle, 15%);
}
.special-label {
color: @subtext0;
@@ -323,10 +324,10 @@
.toc {
li.active > a {
border-left-color: @accent !important;
border-left-color: @accent-color !important;
}
ul.nav a:hover {
background: @accent !important;
background: @accent-color !important;
&,
* {
color: @crust !important;