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

+11 -11
View File
@@ -2,7 +2,7 @@
@name Invidious Catppuccin
@namespace github.com/catppuccin/userstyles/styles/invidious
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/invidious
@version 0.3.1
@version 0.3.2
@description Soothing pastel theme for Invidious
@author Catppuccin
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/invidious/catppuccin.user.css
@@ -155,10 +155,6 @@
.video-js .vjs-control-bar,
.vjs-menu-button-popup .vjs-menu .vjs-menu-content {
background-color: @crust !important;
}
.video-js .vjs-control-bar,
.vjs-menu-button-popup .vjs-menu .vjs-menu-content {
color: @text !important;
}
@@ -248,12 +244,11 @@
}
input[type="checkbox"] {
background-color: @surface2;
border: 1px solid @crust;
border-color: @crust;
height: 1rem;
width: 1rem;
-webkit-appearance: none;
appearance: none;
outline: none;
cursor: pointer;
&:checked {
@svg: escape(
@@ -263,17 +258,22 @@
}
}
// video player background
/* video player background */
#player-container > .video-js > video,
// placeholder for loading thumbnails
/* placeholder for loading thumbnails */
.vjs-poster {
& when (@styleVideoPlayer = 1) {
background-color: @mantle !important;
}
}
/* watch progress on videos */
div.watched-indicator {
background-color: @red;
}
}
// synced colorscheme
/* synced colorscheme */
@media (prefers-color-scheme: light) {
.no-theme {
#catppuccin(@lightFlavor, @accentColor);
@@ -285,7 +285,7 @@
}
}
// manually set colorscheme
/* manually set colorscheme */
.light-theme {
#catppuccin(@lightFlavor, @accentColor);
}