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:
1 parent
74eaa37e19
commit
ded7419d5c
71 files changed
+798
-753
No files matched your search
@@ -3,16 +3,17 @@
|
||||
@namespace github.com/catppuccin/userstyles/styles/invidious
|
||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/invidious
|
||||
@version 0.4.0
|
||||
@description Soothing pastel theme for Invidious
|
||||
@author Catppuccin
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/invidious/catppuccin.user.css
|
||||
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Ainvidious
|
||||
@description Soothing pastel theme for Invidious
|
||||
@author Catppuccin
|
||||
@license MIT
|
||||
|
||||
@preprocessor less
|
||||
@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" ]
|
||||
@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 styleVideoPlayer "Style Video Player" 1
|
||||
==/UserStyle== */
|
||||
|
||||
@@ -80,9 +81,9 @@
|
||||
@base: @catppuccin[@@lookup][@base];
|
||||
@mantle: @catppuccin[@@lookup][@mantle];
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accentColor: @catppuccin[@@lookup][@@accent];
|
||||
@linkColor: @accentColor;
|
||||
@linkHover: #lightenOrDarken(@accentColor, 5%) [ @result];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
@link-color: @accent-color;
|
||||
@link-hover: #lightenOrDarken(@accent-color, 5%) [ @result];
|
||||
|
||||
#lightenOrDarken(@color, @value) {
|
||||
@result: if(
|
||||
@@ -107,29 +108,29 @@
|
||||
|
||||
&::-webkit-scrollbar-thumb {
|
||||
border-radius: 9999px;
|
||||
background: @accentColor;
|
||||
background: @accent-color;
|
||||
}
|
||||
|
||||
a,
|
||||
/* menu under the search bar */
|
||||
.pure-menu-heading {
|
||||
color: @linkColor;
|
||||
color: @link-color;
|
||||
&:hover,
|
||||
&:focus,
|
||||
&:active {
|
||||
color: @linkHover !important;
|
||||
color: @link-hover !important;
|
||||
}
|
||||
}
|
||||
|
||||
hr,
|
||||
/* legend borders are visible as dividers in Settings */
|
||||
legend {
|
||||
border-color: mix(@accentColor, @surface0, 50%);
|
||||
border-color: mix(@accent-color, @surface0, 50%);
|
||||
border-style: solid;
|
||||
}
|
||||
|
||||
legend {
|
||||
color: @accentColor !important;
|
||||
color: @accent-color !important;
|
||||
}
|
||||
|
||||
.pure-button-primary {
|
||||
@@ -144,23 +145,23 @@
|
||||
}
|
||||
}
|
||||
.pure-button-secondary {
|
||||
background-color: @accentColor !important;
|
||||
background-color: @accent-color !important;
|
||||
color: @crust !important;
|
||||
border-color: @crust !important;
|
||||
&:hover,
|
||||
&:focus {
|
||||
background-color: #lightenOrDarken(@accentColor, 2%) [ @result] !important;
|
||||
background-color: #lightenOrDarken(@accent-color, 2%) [ @result] !important;
|
||||
color: @crust !important;
|
||||
border-color: @crust !important;
|
||||
}
|
||||
}
|
||||
|
||||
#subscribe {
|
||||
background-color: @linkColor !important;
|
||||
background-color: @link-color !important;
|
||||
color: @crust !important;
|
||||
:hover,
|
||||
:focus {
|
||||
background-color: @linkHover !important;
|
||||
background-color: @link-hover !important;
|
||||
color: @crust !important;
|
||||
}
|
||||
}
|
||||
@@ -181,7 +182,7 @@
|
||||
|
||||
.video-js .vjs-slider:hover,
|
||||
.video-js button:hover {
|
||||
color: @accentColor !important;
|
||||
color: @accent-color !important;
|
||||
}
|
||||
|
||||
.video-js .vjs-slider {
|
||||
@@ -194,7 +195,7 @@
|
||||
}
|
||||
|
||||
.video-js.player-style-invidious .vjs-play-progress {
|
||||
background-color: @accentColor !important;
|
||||
background-color: @accent-color !important;
|
||||
}
|
||||
|
||||
.vjs-menu li.vjs-menu-item:focus,
|
||||
@@ -250,7 +251,7 @@
|
||||
footer span a,
|
||||
footer span:has(i) {
|
||||
&:hover {
|
||||
color: @accentColor !important;
|
||||
color: @accent-color !important;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -309,11 +310,10 @@
|
||||
/* Channel owner comments */
|
||||
a.channel-owner {
|
||||
color: @crust;
|
||||
background-color: @accentColor;
|
||||
background-color: @accent-color;
|
||||
}
|
||||
}
|
||||
|
||||
/* synced colorscheme */
|
||||
@media (prefers-color-scheme: light) {
|
||||
.no-theme {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
@@ -325,7 +325,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
/* manually set colorscheme */
|
||||
.light-theme {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user