eforce userstyles standards (#114)

* eforce userstyles standards

* fix: update hompageURL ^& lowercase flavor
This commit is contained in:
Isabel authored and GitHub committed 2023-07-22 20:45:16 +01:00
1 parent 17e28395d6
commit b1fcd94fab
36 files changed
+229 -293

No files matched your search

+21 -18
View File
@@ -1,17 +1,20 @@
/* ==UserStyle==
@name NixOS Search Catppuccin
@namespace github.com/catppuccin/userstyles/nixos-search
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/nixos-search
@version 0.2.0
@description Soothing pastel theme for NixOS Search
@author Catppuccin
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/nixos-search/catppuccin.user.css
@license MIT
@preprocessor less
@var select flavor "Theme" ["latte:Latte*", "frappe:Frappe", "macchiato:Macchiato", "mocha:Mocha"]
@var select accent "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 flavor "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"]
==/UserStyle== */
@-moz-document domain("search.nixos.org") {
#catppuccin(@flavor);
#accent(@accent);
#accent(@accentColor);
#nixos-search();
#catppuccin(@flavor) when (@flavor = latte) {
@@ -131,49 +134,49 @@
}
/* ----- Accent Mixins ----- */
#accent(@accent) when (@accent = rosewater) {
#accent(@accentColor) when (@accentColor = rosewater) {
@accent-color: @rosewater;
}
#accent(@accent) when (@accent = flamingo) {
#accent(@accentColor) when (@accentColor = flamingo) {
@accent-color: @flamingo;
}
#accent(@accent) when (@accent = pink) {
#accent(@accentColor) when (@accentColor = pink) {
@accent-color: @pink;
}
#accent(@accent) when (@accent = mauve) {
#accent(@accentColor) when (@accentColor = mauve) {
@accent-color: @mauve;
}
#accent(@accent) when (@accent = red) {
#accent(@accentColor) when (@accentColor = red) {
@accent-color: @red;
}
#accent(@accent) when (@accent = maroon) {
#accent(@accentColor) when (@accentColor = maroon) {
@accent-color: @maroon;
}
#accent(@accent) when (@accent = peach) {
#accent(@accentColor) when (@accentColor = peach) {
@accent-color: @peach;
}
#accent(@accent) when (@accent = yellow) {
#accent(@accentColor) when (@accentColor = yellow) {
@accent-color: @yellow;
}
#accent(@accent) when (@accent = green) {
#accent(@accentColor) when (@accentColor = green) {
@accent-color: @green;
}
#accent(@accent) when (@accent = teal) {
#accent(@accentColor) when (@accentColor = teal) {
@accent-color: @teal;
}
#accent(@accent) when (@accent = blue) {
#accent(@accentColor) when (@accentColor = blue) {
@accent-color: @blue;
}
#accent(@accent) when (@accent = sapphire) {
#accent(@accentColor) when (@accentColor = sapphire) {
@accent-color: @sapphire;
}
#accent(@accent) when (@accent =sky) {
#accent(@accentColor) when (@accentColor =sky) {
@accent-color: @sky;
}
#accent(@accent) when (@accent = lavender) {
#accent(@accentColor) when (@accentColor = lavender) {
@accent-color: @lavender;
}
#accent(@accent) when (@accent = subtext0) {
#accent(@accentColor) when (@accentColor = subtext0) {
@accent-color: @subtext0;
}