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

+11 -10
View File
@@ -3,17 +3,18 @@
@namespace github.com/catppuccin/userstyles/styles/modrinth
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/modrinth
@version 1.2.1
@description Soothing pastel theme for Modrinth
@author Catppuccin
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/modrinth/catppuccin.user.css
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Amodrinth
@description Soothing pastel theme for Modrinth
@author Catppuccin
@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 regexp(".*https:\\/\\/(www\\.|staging\\.|)modrinth\\.com.*") {
/* prettier-ignore */
@catppuccin: {
@@ -60,13 +61,13 @@
@mantle: @catppuccin[@@lookup][@mantle];
@crust: @catppuccin[@@lookup][@crust];
@shadow: @catppuccin[@@lookup][@shadow];
@accent-Color: @catppuccin[@@lookup][@@accent];
@accent-color: @catppuccin[@@lookup][@@accent];
--color-base: @text;
--color-bg: @crust;
--color-ad-raised: @surface2;
--color-ad: @surface1;
--color-brand: @accent-Color;
--color-brand: @accent-color;
--color-brand-green: @green;
--color-button-bg-active: @overlay0;
--color-button-bg-hover: @surface1;
@@ -97,7 +98,7 @@
--color-table-alternate-row: @crust;
--color-table-border: @overlay0;
--color-contrast: @text;
--color-brand-shadow: @accent-Color;
--color-brand-shadow: @accent-color;
--color-warning-banner-side: @red;
--color-warning-banner-bg: fade(@red, 10%);
--color-warning-banner-text: @text;
@@ -105,12 +106,12 @@
[tabindex="0"]:focus-visible,
a:focus-visible,
button:focus-visible {
outline-color: @accent-Color;
outline-color: @accent-color;
}
.BDVE3s9MFQttmbMUeYup-2 a b,
.BDVE3s9MFQttmbMUeYup-2 a strong {
color: @accent-Color;
color: @accent-color;
}
}
}