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:
Isabelandwinston authored and GitHub committed 2023-11-18 05:20:43 +01:00
1 parent 0814bb215d
commit 95703ab92b
56 files changed
+1840 -6858

No files matched your search

+15 -20
View File
@@ -63,7 +63,7 @@
}
.Dl7 {
border: none !important;
border-color: transparent !important;
}
svg.ztu > path {
@@ -83,8 +83,7 @@
h3,
h5,
div,
input[type="text"],
ai {
input[type="text"] {
color: @text !important;
}
@@ -128,7 +127,7 @@
/** Mobile **/
div._he.urM.zI7.iyn.Hsu {
border: none !important;
border-color: transparent !important;
}
/* About */
@@ -265,7 +264,7 @@
textarea.Gnj.Hsu.tBJ.dyH.iFc.sAJ.L4E.Bvi.iyn.H_e.pBj.qJc.TKt.LJB,
div.D8X.Hsu.tBJ.dyH.iFc.sAJ.L4E.Bvi.iyn.H_e.pBj.qJc.TKt.LJB.xD4.BMi.rNx {
background-color: @mantle;
border: none !important;
border-color: transparent !important;
}
/** Mobile **/
@@ -357,7 +356,7 @@
}
div[data-test-id="gestalt-avatar-svg"] {
border: none !important;
border-color: transparent !important;
& div.INd.XiG._HI.zI7.iyn.Hsu {
background-color: @crust !important;
& svg > text {
@@ -379,7 +378,7 @@
}
div.INd.Jea.KS5.mQ8.zI7.iyn.Hsu[style="height: 30px; width: 30px; border: 2px solid rgb(17, 17, 17);"] {
border: 2px solid @mantle !important;
border-color: @mantle !important;
}
div.Jea.KS5.MtH.jzS.kKU.zI7.iyn.Hsu {
@@ -674,7 +673,7 @@
}
div.XiG._HI.s2n.sLG.zI7.iyn.Hsu {
border: 2px solid @mantle !important;
border-color: @mantle !important;
}
button.ope.ujU.e43.adn.BG7.CCY.zHr.qJc
@@ -691,7 +690,7 @@
background-color: @mantle !important;
color: @text !important;
caret-color: @text !important;
border: none !important;
border-color: transparent !important;
}
input[style="min-width: 0px; flex: 1 1 0%; font-size: 16px; color: rgb(51, 51, 51); border: 0px; outline: none; box-sizing: border-box; padding: 0px;"] {
@@ -763,12 +762,12 @@
}
div.JME.Jea.KS5.fev.zI7.iyn.Hsu {
border: none !important;
border-color: transparent !important;
}
div.LJB.Pw5.daS.fev.urM.zI7.iyn.Hsu {
background-color: @mantle !important;
border: none !important;
border-color: transparent !important;
}
div.Jea.OVX.jzS.ujU.zI7.iyn.Hsu & textarea {
@@ -779,7 +778,7 @@
div[data-test-id="contact-search-field"] & input {
background-color: @mantle !important;
border: none !important;
border-color: transparent !important;
}
div.INd.IVF.Jea.KS5.mQ8.wc1.zI7.iyn.Hsu {
@@ -807,7 +806,7 @@
div.Eqh.HFo.INd.JME.Jea.VxL.Zr3.hUC.hjj.jar.zI7.iyn.Hsu {
background-color: @base !important;
border: none !important;
border-color: transparent !important;
& svg > path {
fill: @text !important;
}
@@ -972,15 +971,11 @@
}
@media (prefers-color-scheme: light) {
& {
#catppuccin(@lightFlavor, @accentColor);
}
#catppuccin(@lightFlavor, @accentColor);
}
@media (prefers-color-scheme: dark) {
& {
#catppuccin(@darkFlavor, @accentColor);
}
#catppuccin(@darkFlavor, @accentColor);
}
} /* /@-moz-document */
}
// vim:ft=less