fix(treewide): enforce catppuccin/userstyles code standards (#323)
* fix(gmail): stylelint suggestions
* fix(whatsapp-web): stylelint suggestions
* fix(invidious): stylelint suggestions
* bump(invidious): version number
* fix(gmail): use `::` instead of `:` for pseudo elements
* fix(formative): follow stylelint suggestions
* fix(quizlet): follow stylelint suggestions
* ci: adjust stylelint config
* fix(quizlet): follow more stylelint suggestions
* fix(paste.rs): follow stylelint suggestions
* fix(nixos-search): namespace
* fix(nitter): follow stylelint suggestions
* ci(lint): add `deno task lint:fix`
* style: run `stylelint --fix`
* fix(lastfm): remove duplicate selectors
* fix(formative): remove duplicate selectors
* fix(deepl): remove duplicate classes
* ci(lint): introduce rules against animations & fonts
* fix(libreddit): remove unnecessary `&`
* ci(lint): disallow boder/outline, add message
* ci(lint): disallow atRules
* treewide: replace `border` in favour of `border-color`
* treewide: reject all font alterations
* treewide: `remove outline: none`
* style: some more `border` -> `border-color`
* ci(lint): `keyframes` needs to stay
* fix(nixos-search): enforce userstyles standards
* fix(nitter): remove redundant `&`
* style(treewide): collapse definitions
* fix(chess): piece urls
* style: mixin classes -> ids
* style: reformat with prettier
* chore(treewide): add/fix metadata
* fix(lastfm): syntax error
* fix(lastfm): remove opionation
* fix(lastfm): remove duplicate classes
* ci(lint): allow animation/transition properties
* fix(lastfm): more small things
* fix(treewide): function typos
* fix(aoc): unknown unit
* fix: more genral forgotten fixes
* fix(brave-search): remove redundant `&`
* style(planetmc): unpack lookup
* fix: remove redundant code
* chore: add `vim:ft=less` to all files
* chore: remove template comment
* fix(anilist): reduce redundant code
* ci(lint): allow `no-invalid-position-at-import-rule`
* fix(twitch): lint warnings
* fix(youtube): `declaration-block-no-duplicate-custom-properties`
* fix: get rid of redundant `& {}` selectors
* fix(anilist): remove redundant `@rgb-raw`
* fix(hoppscotch): `declaration-block-no-duplicate-custom-properties`
* fix(yt): remove duplicate code
* fix(anilist): remove duplicate code
* fix(lastfm): animation name
* fix(bstats): remove redundant code
* fix(yt): remove redundant code
* fix(ichi.moe): `no-duplicate-selectors`
* fix(pinterest): use `border-color` instead of `border`
* fix(planetmc): `no-duplicate-selectors`
* fix(yt): remove over used `::selection`
* fix: use `border-color: transparent` instead of `border: none`
* fix(searxng): remove stylus-style conditional
* fix(invidious): style missing color while i'm at it
* ci(lint): add chalk ansi styling
* style(treewide): enable & fix `length-zero-no-unit`
* ci(lint): prettyprint logger
* fix(yt): fold & don't format lookup
* fix(mastodon): prevent reggressions
* refactor: `not when` -> `when not`
* fix(yt): correct `chips` reggression
* fix(yt): `border-color` reggression
* fix(yt): prevent more reggessions
* refactor(chess): use mixin for piece url
* style: collapsed definition cleanup
---------
Co-authored-by: winston <[email protected]>
This commit is contained in:
1 parent
0814bb215d
commit
95703ab92b
56 files changed
+1840
-6858
No files matched your search
@@ -13,123 +13,15 @@
|
||||
@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"]
|
||||
@var checkbox topbar "Topbar colors" 1
|
||||
@var checkbox usefont "Use Inter font" 0
|
||||
==/UserStyle== */
|
||||
|
||||
/* prettier-ignore */
|
||||
@catppuccin: {
|
||||
@latte: {
|
||||
@rosewater: #dc8a78;
|
||||
@flamingo: #dd7878;
|
||||
@pink: #ea76cb;
|
||||
@mauve: #8839ef;
|
||||
@red: #d20f39;
|
||||
@maroon: #e64553;
|
||||
@peach: #fe640b;
|
||||
@yellow: #df8e1d;
|
||||
@green: #40a02b;
|
||||
@teal: #179299;
|
||||
@sky: #04a5e5;
|
||||
@sapphire: #209fb5;
|
||||
@blue: #1e66f5;
|
||||
@lavender: #7287fd;
|
||||
@text: #4c4f69;
|
||||
@subtext1: #5c5f77;
|
||||
@subtext0: #6c6f85;
|
||||
@overlay2: #7c7f93;
|
||||
@overlay1: #8c8fa1;
|
||||
@overlay0: #9ca0b0;
|
||||
@surface2: #acb0be;
|
||||
@surface1: #bcc0cc;
|
||||
@surface0: #ccd0da;
|
||||
@base: #eff1f5;
|
||||
@mantle: #e6e9ef;
|
||||
@crust: #dce0e8;
|
||||
};
|
||||
@frappe: {
|
||||
@rosewater: #f2d5cf;
|
||||
@flamingo: #eebebe;
|
||||
@pink: #f4b8e4;
|
||||
@mauve: #ca9ee6;
|
||||
@red: #e78284;
|
||||
@maroon: #ea999c;
|
||||
@peach: #ef9f76;
|
||||
@yellow: #e5c890;
|
||||
@green: #a6d189;
|
||||
@teal: #81c8be;
|
||||
@sky: #99d1db;
|
||||
@sapphire: #85c1dc;
|
||||
@blue: #8caaee;
|
||||
@lavender: #babbf1;
|
||||
@text: #c6d0f5;
|
||||
@subtext1: #b5bfe2;
|
||||
@subtext0: #a5adce;
|
||||
@overlay2: #949cbb;
|
||||
@overlay1: #838ba7;
|
||||
@overlay0: #737994;
|
||||
@surface2: #626880;
|
||||
@surface1: #51576d;
|
||||
@surface0: #414559;
|
||||
@base: #303446;
|
||||
@mantle: #292c3c;
|
||||
@crust: #232634;
|
||||
};
|
||||
@macchiato: {
|
||||
@rosewater: #f4dbd6;
|
||||
@flamingo: #f0c6c6;
|
||||
@pink: #f5bde6;
|
||||
@mauve: #c6a0f6;
|
||||
@red: #ed8796;
|
||||
@maroon: #ee99a0;
|
||||
@peach: #f5a97f;
|
||||
@yellow: #eed49f;
|
||||
@green: #a6da95;
|
||||
@teal: #8bd5ca;
|
||||
@sky: #91d7e3;
|
||||
@sapphire: #7dc4e4;
|
||||
@blue: #8aadf4;
|
||||
@lavender: #b7bdf8;
|
||||
@text: #cad3f5;
|
||||
@subtext1: #b8c0e0;
|
||||
@subtext0: #a5adcb;
|
||||
@overlay2: #939ab7;
|
||||
@overlay1: #8087a2;
|
||||
@overlay0: #6e738d;
|
||||
@surface2: #5b6078;
|
||||
@surface1: #494d64;
|
||||
@surface0: #363a4f;
|
||||
@base: #24273a;
|
||||
@mantle: #1e2030;
|
||||
@crust: #181926;
|
||||
};
|
||||
@mocha: {
|
||||
@rosewater: #f5e0dc;
|
||||
@flamingo: #f2cdcd;
|
||||
@pink: #f5c2e7;
|
||||
@mauve: #cba6f7;
|
||||
@red: #f38ba8;
|
||||
@maroon: #eba0ac;
|
||||
@peach: #fab387;
|
||||
@yellow: #f9e2af;
|
||||
@green: #a6e3a1;
|
||||
@teal: #94e2d5;
|
||||
@sky: #89dceb;
|
||||
@sapphire: #74c7ec;
|
||||
@blue: #89b4fa;
|
||||
@lavender: #b4befe;
|
||||
@text: #cdd6f4;
|
||||
@subtext1: #bac2de;
|
||||
@subtext0: #a6adc8;
|
||||
@overlay2: #9399b2;
|
||||
@overlay1: #7f849c;
|
||||
@overlay0: #6c7086;
|
||||
@surface2: #585b70;
|
||||
@surface1: #45475a;
|
||||
@surface0: #313244;
|
||||
@base: #1e1e2e;
|
||||
@mantle: #181825;
|
||||
@crust: #11111b;
|
||||
};
|
||||
};
|
||||
@latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
|
||||
@frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
|
||||
@macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
|
||||
@mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
|
||||
}
|
||||
|
||||
@-moz-document regexp("https:\/\/(gist\.)*github\.com(?!\/(home|marketplace|organizations\/plan))(?!\/.+?\/.+?\/commit\/[A-Fa-f0-9]+\.).*") {
|
||||
[data-color-mode="light"],
|
||||
@@ -158,8 +50,6 @@
|
||||
left: 0;
|
||||
padding: 1rem;
|
||||
margin: 1rem;
|
||||
font-size: 0.9rem;
|
||||
font-weight: 600;
|
||||
border-radius: 0.5rem;
|
||||
max-width: 40ch;
|
||||
background-color: var(--color-danger-fg);
|
||||
@@ -419,7 +309,7 @@
|
||||
--color-ansi-black: #484f58;
|
||||
--color-ansi-black-bright: #6e7681;
|
||||
--color-ansi-white: #b1bac4;
|
||||
--color-ansi-white-bright: #ffffff;
|
||||
--color-ansi-white-bright: #fff;
|
||||
--color-ansi-gray: #6e7681;
|
||||
--color-ansi-red: #ff7b72;
|
||||
--color-ansi-red-bright: #ffa198;
|
||||
@@ -458,7 +348,7 @@
|
||||
--color-btn-outline-hover-inset-shadow: inset 0 1px 0
|
||||
rgba(255, 255, 255, 0.03);
|
||||
--color-btn-outline-hover-counter-bg: rgba(255, 255, 255, 0.2);
|
||||
--color-btn-outline-selected-text: #ffffff;
|
||||
--color-btn-outline-selected-text: #fff;
|
||||
--color-btn-outline-selected-bg: #0d419d;
|
||||
--color-btn-outline-selected-border: rgba(240, 246, 252, 0.1);
|
||||
--color-btn-outline-selected-shadow: 0 0 transparent;
|
||||
@@ -552,7 +442,7 @@
|
||||
--color-primer-shadow-inset: 0 0 transparent;
|
||||
--color-primer-shadow-focus: 0 0 0 3px #0c2d6b;
|
||||
--color-scale-black: #010409;
|
||||
--color-scale-white: #ffffff;
|
||||
--color-scale-white: #fff;
|
||||
--color-scale-gray-0: #f0f6fc;
|
||||
--color-scale-gray-1: #c9d1d9;
|
||||
--color-scale-gray-2: #b1bac4;
|
||||
@@ -726,7 +616,7 @@
|
||||
--text: @text;
|
||||
}
|
||||
|
||||
.hx_IssueLabel not when (@lookup =latte) {
|
||||
.hx_IssueLabel when not (@lookup =latte) {
|
||||
--lightness-threshold: 0.453;
|
||||
--border-threshold: 0.96;
|
||||
--border-fadeout: max(
|
||||
@@ -874,13 +764,6 @@
|
||||
color: @subtext1;
|
||||
}
|
||||
|
||||
body,
|
||||
.markdown-body {
|
||||
& when (@usefont=1) {
|
||||
font-family: inter, sans-serif;
|
||||
}
|
||||
}
|
||||
|
||||
#check-step-header-title {
|
||||
color: var(--color-checks-text-link) !important;
|
||||
}
|
||||
@@ -1097,10 +980,7 @@
|
||||
|
||||
.lhyFLG {
|
||||
background-color: @mantle;
|
||||
border-top: 1px solid @surface1;
|
||||
border-right-color: @surface1;
|
||||
border-bottom-color: @surface1;
|
||||
border-left-color: @surface1;
|
||||
border-color: @surface1;
|
||||
}
|
||||
|
||||
.hUWqlv,
|
||||
@@ -1218,7 +1098,7 @@
|
||||
}
|
||||
|
||||
.ikTPpF {
|
||||
box-shadow: @base 0px 3px 6px;
|
||||
box-shadow: @base 0 3px 6px;
|
||||
border-color: @surface0;
|
||||
}
|
||||
|
||||
@@ -1430,8 +1310,8 @@
|
||||
.jykkjb {
|
||||
background-color: @base;
|
||||
box-shadow:
|
||||
@crust 0px -2px 0px inset,
|
||||
@crust 0px 1px 0px inset;
|
||||
@crust 0 -2px 0 inset,
|
||||
@crust 0 1px 0 inset;
|
||||
}
|
||||
|
||||
.jhjELj,
|
||||
@@ -1471,13 +1351,6 @@
|
||||
color: @subtext0;
|
||||
}
|
||||
|
||||
smt {
|
||||
background-color: @base;
|
||||
&:hover {
|
||||
background-color: @surface0;
|
||||
}
|
||||
}
|
||||
|
||||
.dtTTcd {
|
||||
background-color: @base;
|
||||
&.hoverable:hover {
|
||||
@@ -1504,7 +1377,7 @@
|
||||
|
||||
/* Tree Fix */
|
||||
|
||||
/* Weird barely visible outlines | Can be removed if intentional*/
|
||||
/* Weird barely visible outlines | Can be removed if intentional */
|
||||
.brFBoI,
|
||||
.ldUAkr,
|
||||
.gtXnmh {
|
||||
@@ -1518,7 +1391,7 @@
|
||||
}
|
||||
|
||||
.jMdYTc {
|
||||
border: 1px solid @surface1;
|
||||
border-color: @surface1;
|
||||
|
||||
& button {
|
||||
color: @subtext1;
|
||||
@@ -1630,18 +1503,18 @@
|
||||
|
||||
&:hover {
|
||||
background-color: @mantle;
|
||||
border: 1px solid @surface1;
|
||||
border-color: @surface1;
|
||||
color: @text;
|
||||
}
|
||||
}
|
||||
|
||||
/* Fullscreen Sidebar Fixes*/
|
||||
/* Fullscreen Sidebar Fixes */
|
||||
.hMCjFU,
|
||||
.jcKsih,
|
||||
.hpgNiv {
|
||||
background-color: @base;
|
||||
color: @text;
|
||||
border: 1px solid @surface1;
|
||||
border-color: @surface1;
|
||||
|
||||
&:hover {
|
||||
background-color: @surface0;
|
||||
@@ -1654,7 +1527,7 @@
|
||||
.iGzDhH,
|
||||
.Overlay {
|
||||
background-color: @mantle;
|
||||
border: 1px solid @surface1;
|
||||
border-color: @surface1;
|
||||
border-radius: 6px;
|
||||
box-shadow: var(--shadow-floating-large, var(--color-shadow-large));
|
||||
}
|
||||
@@ -1669,11 +1542,11 @@
|
||||
|
||||
.VgnWi {
|
||||
background-color: @base;
|
||||
border: 1px solid @surface1;
|
||||
border-color: @surface1;
|
||||
|
||||
&:focus-within {
|
||||
border-color: @accent-color;
|
||||
box-shadow: @accent-color 0px 0px 0px 1px inset;
|
||||
box-shadow: @accent-color 0 0 0 1px inset;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1701,7 +1574,7 @@
|
||||
select option,
|
||||
optgroup {
|
||||
background-color: @mantle;
|
||||
border: 1px solid @surface1;
|
||||
border-color: @surface1;
|
||||
border-radius: 6px;
|
||||
box-shadow: var(--shadow-floating-large, var(--color-shadow-large));
|
||||
}
|
||||
@@ -1720,18 +1593,18 @@
|
||||
/* Add File Menu */
|
||||
.dQPLyc {
|
||||
background-color: transparent;
|
||||
border: 1px solid @surface1;
|
||||
border-color: @surface1;
|
||||
}
|
||||
|
||||
.ktGGEf {
|
||||
background-color: @base;
|
||||
border: 1px solid @surface1;
|
||||
border-color: @surface1;
|
||||
}
|
||||
|
||||
.gkfBtX {
|
||||
background-color: @mantle;
|
||||
border-radius: 6px 0px 0px 0px;
|
||||
border-bottom: 1px solid @surface1;
|
||||
border-radius: 6px 0 0;
|
||||
border-bottom-color: @surface1;
|
||||
}
|
||||
|
||||
.jproXT {
|
||||
@@ -1752,7 +1625,7 @@
|
||||
|
||||
.wLDmP {
|
||||
background-color: @mantle;
|
||||
border: 1px solid @surface1;
|
||||
border-color: @surface1;
|
||||
}
|
||||
|
||||
.eNSiNz .segmentedControl-content,
|
||||
@@ -1815,7 +1688,7 @@
|
||||
|
||||
/* Colors */
|
||||
--color-scale-black: #010409;
|
||||
--color-scale-white: #ffffff;
|
||||
--color-scale-white: #fff;
|
||||
--color-scale-gray-0: #f0f6fc;
|
||||
--color-scale-gray-1: #c9d1d9;
|
||||
--color-scale-gray-2: #b1bac4;
|
||||
@@ -2007,3 +1880,4 @@
|
||||
--jp-icon-contrast-color3: var(--color-scale-blue-6);
|
||||
}
|
||||
}
|
||||
// vim:ft=less
|
||||
Reference in new issue
Block a user