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,18 +3,25 @@
|
||||
@namespace github.com/catppuccin/userstyles/styles/lastfm
|
||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/lastfm
|
||||
@version 1.1.5
|
||||
@description Soothing pastel theme for Last.fm
|
||||
@author Catppuccin
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/lastfm/catppuccin.user.css
|
||||
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Alastfm
|
||||
@description Soothing pastel theme for Last.fm
|
||||
@author Catppuccin
|
||||
@license MIT
|
||||
|
||||
@preprocessor less
|
||||
@var select flavor "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 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"]
|
||||
==/UserStyle== */
|
||||
|
||||
@-moz-document domain("last.fm") {
|
||||
#catppuccin(@flavor, @accentColor);
|
||||
@media (prefers-color-scheme: light) {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
|
||||
/* prettier-ignore */
|
||||
@catppuccin: {
|
||||
@@ -56,12 +63,12 @@
|
||||
@base: @catppuccin[@@lookup][@base];
|
||||
@mantle: @catppuccin[@@lookup][@mantle];
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent: @catppuccin[@@lookup][@@accentColor];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
|
||||
@accent-dim: darken(@accent, 3%);
|
||||
@accent-color-dim: darken(@accent-color, 3%);
|
||||
|
||||
& when not (@lookup = latte) {
|
||||
@accent-dim: fadeout(@accent, 50);
|
||||
@accent-color-dim: fadeout(@accent-color, 50);
|
||||
color-scheme: dark;
|
||||
.layout-image {
|
||||
background: @base;
|
||||
@@ -99,7 +106,7 @@
|
||||
background: @base;
|
||||
}
|
||||
h1 {
|
||||
color: @accent;
|
||||
color: @accent-color;
|
||||
}
|
||||
.mimic-link {
|
||||
color: @sapphire;
|
||||
@@ -108,9 +115,9 @@
|
||||
border-color: @overlay1;
|
||||
}
|
||||
a {
|
||||
color: @accent;
|
||||
color: @accent-color;
|
||||
&:hover {
|
||||
color: @accent-dim;
|
||||
color: @accent-color-dim;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -157,8 +164,8 @@
|
||||
|
||||
/* -----------CHECKBOXES AND RADIOS---------- */
|
||||
.lfm-form-radio input[type="radio"]:checked + label::before {
|
||||
border-color: @accent;
|
||||
box-shadow: inset 0 0 0 4px @accent;
|
||||
border-color: @accent-color;
|
||||
box-shadow: inset 0 0 0 4px @accent-color;
|
||||
background-color: @base;
|
||||
}
|
||||
.lfm-form-radio input[type="radio"] + label::before {
|
||||
@@ -176,7 +183,7 @@
|
||||
|
||||
.content-top-has-nav .content-top::after,
|
||||
.two-column-layout .content-top::after {
|
||||
border-top-color: @accent-dim;
|
||||
border-top-color: @accent-color-dim;
|
||||
}
|
||||
|
||||
.homefeed .content-top .secondary-nav-item-link--active,
|
||||
@@ -202,7 +209,7 @@
|
||||
&--tracks,
|
||||
&--events {
|
||||
.secondary-nav-item-link:hover::after {
|
||||
background-color: @accent-dim;
|
||||
background-color: @accent-color-dim;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -211,7 +218,7 @@
|
||||
&--tracks,
|
||||
&--events {
|
||||
.content-top .secondary-nav-item-link--active::after {
|
||||
background-color: @accent-dim;
|
||||
background-color: @accent-color-dim;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -251,10 +258,10 @@
|
||||
}
|
||||
}
|
||||
&::after {
|
||||
border-bottom-color: @accent-dim;
|
||||
border-bottom-color: @accent-color-dim;
|
||||
}
|
||||
&::before {
|
||||
background-color: @accent;
|
||||
background-color: @accent-color;
|
||||
-webkit-filter: invert(0%);
|
||||
filter: invert(0%);
|
||||
}
|
||||
@@ -269,7 +276,7 @@
|
||||
background-color: transparent;
|
||||
}
|
||||
.join-cta h3 {
|
||||
color: @accent;
|
||||
color: @accent-color;
|
||||
}
|
||||
|
||||
.lazy-features-footer {
|
||||
@@ -283,7 +290,7 @@
|
||||
/* LIVE */
|
||||
/* MUSIC */
|
||||
.content-top-header {
|
||||
color: @accent;
|
||||
color: @accent-color;
|
||||
}
|
||||
|
||||
.minimal-navigation-item-link {
|
||||
@@ -350,7 +357,7 @@
|
||||
background-color: var(--category-background) !important;
|
||||
}
|
||||
.secondary-nav {
|
||||
box-shadow: inset 0 -1px @accent;
|
||||
box-shadow: inset 0 -1px @accent-color;
|
||||
}
|
||||
.music-recommended-artists-artist-name,
|
||||
.music-recommended-artists-context,
|
||||
@@ -409,7 +416,7 @@
|
||||
|
||||
._buffer-reset,
|
||||
.sidebar-heading {
|
||||
color: @accent;
|
||||
color: @accent-color;
|
||||
}
|
||||
|
||||
.sidebar-group-heading {
|
||||
@@ -444,7 +451,7 @@
|
||||
}
|
||||
|
||||
.events-filters {
|
||||
border-bottom-color: @accent;
|
||||
border-bottom-color: @accent-color;
|
||||
}
|
||||
|
||||
.events-list-item-venue--address,
|
||||
@@ -477,7 +484,7 @@
|
||||
}
|
||||
|
||||
.features-post-header-title {
|
||||
color: @accent;
|
||||
color: @accent-color;
|
||||
}
|
||||
|
||||
.features-post-artist {
|
||||
@@ -493,7 +500,7 @@
|
||||
&,
|
||||
&:not(.cta--inactive):focus,
|
||||
&:not(.cta--inactive):hover {
|
||||
background-color: @accent-dim;
|
||||
background-color: @accent-color-dim;
|
||||
}
|
||||
}
|
||||
.dropdown-menu-clickable,
|
||||
@@ -512,7 +519,7 @@
|
||||
color: @subtext1;
|
||||
}
|
||||
.chartlist-play-button::before {
|
||||
background-color: @accent;
|
||||
background-color: @accent-color;
|
||||
-webkit-filter: invert(0%);
|
||||
filter: invert(0%);
|
||||
}
|
||||
@@ -527,14 +534,14 @@
|
||||
.text-Color-link,
|
||||
h2,
|
||||
.dropdown-menu-clickable-button.disclose-active {
|
||||
color: @accent;
|
||||
color: @accent-color;
|
||||
}
|
||||
.dropdown-menu-clickable-button,
|
||||
.dropdown-menu-clickable-item--selected {
|
||||
&,
|
||||
&:focus,
|
||||
&:hover {
|
||||
color: @accent;
|
||||
color: @accent-color;
|
||||
}
|
||||
}
|
||||
.dropdown-menu-clickable-item,
|
||||
@@ -544,7 +551,7 @@
|
||||
color: @text;
|
||||
}
|
||||
.btn-secondary {
|
||||
background-color: @accent-dim;
|
||||
background-color: @accent-color-dim;
|
||||
color: @crust;
|
||||
}
|
||||
|
||||
@@ -553,7 +560,7 @@
|
||||
.btn-secondary:focus,
|
||||
body:not([data-whatinput="touch"]) .btn-secondary .focus-visible,
|
||||
body:not([data-whatinput="touch"]) .btn-secondary:hover {
|
||||
background-color: @accent;
|
||||
background-color: @accent-color;
|
||||
color: @crust;
|
||||
}
|
||||
input[type="password"] {
|
||||
@@ -598,7 +605,7 @@
|
||||
.chartlist-row--highlight,
|
||||
.chartlist-row--now-scrobbling {
|
||||
/* background-color: #5a1717; */
|
||||
background: linear-gradient(270deg, @base 60%, rgba(@accent, 0.2));
|
||||
background: linear-gradient(270deg, @base 60%, rgba(@accent-color, 0.2));
|
||||
background-size: 200% 200%;
|
||||
-webkit-animation: chartlist-anim 10s ease infinite;
|
||||
-moz-animation: chartlist-anim 10s ease infinite;
|
||||
@@ -621,7 +628,7 @@
|
||||
|
||||
.chartlist-count-bar-slug {
|
||||
background-color: transparent !important;
|
||||
background-image: linear-gradient(to right, @accent, @accent);
|
||||
background-image: linear-gradient(to right, @accent-color, @accent-color);
|
||||
color: @crust;
|
||||
}
|
||||
.chartlist-count-bar-value {
|
||||
@@ -629,7 +636,7 @@
|
||||
}
|
||||
a:focus .chartlist-count-bar-slug,
|
||||
a:hover .chartlist-count-bar-slug {
|
||||
background-color: @accent-dim;
|
||||
background-color: @accent-color-dim;
|
||||
}
|
||||
|
||||
.chartlist-count-bar-link {
|
||||
@@ -649,7 +656,7 @@
|
||||
}
|
||||
|
||||
.chartlist tr:nth-child(1) td.chartlist-index {
|
||||
color: @accent;
|
||||
color: @accent-color;
|
||||
}
|
||||
|
||||
/* LISTENING REPORT */
|
||||
@@ -664,7 +671,7 @@
|
||||
// Topmost report box
|
||||
|
||||
.report-box-container--overview {
|
||||
background: @accent;
|
||||
background: @accent-color;
|
||||
color: @base;
|
||||
// Top border design (////)
|
||||
.report-headline-border {
|
||||
@@ -706,7 +713,7 @@
|
||||
background: @base;
|
||||
.listening-report-row {
|
||||
// Header divider colors follow accent
|
||||
border-bottom-color: @accent;
|
||||
border-bottom-color: @accent-color;
|
||||
}
|
||||
.top-item-overview {
|
||||
// Style category boxes
|
||||
@@ -770,7 +777,11 @@
|
||||
}
|
||||
// User comparison icons
|
||||
.tag-label {
|
||||
background: linear-gradient(90deg, darken(@accent, 5%), @accent);
|
||||
background: linear-gradient(
|
||||
90deg,
|
||||
darken(@accent-color, 5%),
|
||||
@accent-color
|
||||
);
|
||||
// Total scrobbles header
|
||||
&--total-scrobbles::before {
|
||||
.mask-image(url("/static/images/icons/icon-scrobble.66a5e6978c62.svg"), @base);
|
||||
@@ -848,7 +859,7 @@
|
||||
|
||||
.music-decades-chart-container {
|
||||
.highcharts-series-1 .highcharts-point {
|
||||
fill: rgba(@accent, 0.5);
|
||||
fill: rgba(@accent-color, 0.5);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -911,9 +922,9 @@
|
||||
}
|
||||
|
||||
.highcharts-point {
|
||||
fill: @accent-dim;
|
||||
fill: @accent-color-dim;
|
||||
&-select {
|
||||
fill: @accent;
|
||||
fill: @accent-color;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -927,7 +938,7 @@
|
||||
}
|
||||
.user-follow,
|
||||
.user-follow::after {
|
||||
color: @accent;
|
||||
color: @accent-color;
|
||||
background-color: @surface0;
|
||||
}
|
||||
|
||||
@@ -948,7 +959,7 @@
|
||||
}
|
||||
|
||||
.header-follower-btn {
|
||||
color: @accent;
|
||||
color: @accent-color;
|
||||
}
|
||||
|
||||
/* BOOKMARKS */
|
||||
@@ -993,7 +1004,7 @@
|
||||
body .header-new-love-button,
|
||||
body .header-new-more-button {
|
||||
color: @base;
|
||||
background-color: @accent;
|
||||
background-color: @accent-color;
|
||||
}
|
||||
body:not([data-whatinput="touch"]) {
|
||||
.header-new-bookmark-button,
|
||||
@@ -1003,7 +1014,7 @@
|
||||
.focus-visible,
|
||||
&:hover {
|
||||
color: @base;
|
||||
background-color: @accent;
|
||||
background-color: @accent-color;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1015,7 +1026,7 @@
|
||||
}
|
||||
|
||||
.text-18 {
|
||||
color: @accent;
|
||||
color: @accent-color;
|
||||
}
|
||||
|
||||
.artist-similar-artists-sidebar-item-name,
|
||||
@@ -1058,7 +1069,7 @@
|
||||
}
|
||||
|
||||
.header-metadata .header-metadata-display a {
|
||||
color: @accent;
|
||||
color: @accent-color;
|
||||
}
|
||||
|
||||
.big-artist-list-title a {
|
||||
@@ -1078,7 +1089,7 @@
|
||||
}
|
||||
|
||||
.section-playlink::before {
|
||||
background-color: @accent;
|
||||
background-color: @accent-color;
|
||||
-webkit-filter: invert(0%);
|
||||
filter: invert(0%);
|
||||
}
|
||||
@@ -1093,7 +1104,7 @@
|
||||
}
|
||||
|
||||
.stationlink::before {
|
||||
background-color: @accent;
|
||||
background-color: @accent-color;
|
||||
-webkit-filter: invert(0%);
|
||||
filter: invert(0%);
|
||||
}
|
||||
@@ -1106,7 +1117,7 @@
|
||||
|
||||
.video-preview-upload-cta {
|
||||
background-color: @crust;
|
||||
box-shadow: 0 0 0 2px @accent-dim;
|
||||
box-shadow: 0 0 0 2px @accent-color-dim;
|
||||
}
|
||||
|
||||
.video-preview-upload-cta:not(.cta--inactive):focus,
|
||||
@@ -1154,7 +1165,7 @@
|
||||
}
|
||||
|
||||
.factbox-item > h4 {
|
||||
color: @accent;
|
||||
color: @accent-color;
|
||||
}
|
||||
|
||||
.alert-warning {
|
||||
@@ -1186,7 +1197,7 @@
|
||||
}
|
||||
}
|
||||
.control-label {
|
||||
color: @accent;
|
||||
color: @accent-color;
|
||||
}
|
||||
.join-form .form-row-help-text {
|
||||
color: @text;
|
||||
@@ -1199,12 +1210,12 @@
|
||||
.secondary-nav-item-link--active::after,
|
||||
a.secondary-nav-item-link:focus::after,
|
||||
a.secondary-nav-item-link:hover::after {
|
||||
background-color: @accent;
|
||||
background-color: @accent-color;
|
||||
}
|
||||
|
||||
/* OBSESSIONS */
|
||||
.obsession-history-play-all::before {
|
||||
background-color: @accent;
|
||||
background-color: @accent-color;
|
||||
-webkit-filter: invert(0%);
|
||||
filter: invert(0%);
|
||||
color: @text;
|
||||
@@ -1220,7 +1231,7 @@
|
||||
}
|
||||
|
||||
.obsession-search-result-header {
|
||||
color: @accent;
|
||||
color: @accent-color;
|
||||
}
|
||||
|
||||
.obsession-candidate-heading {
|
||||
@@ -1243,7 +1254,7 @@
|
||||
}
|
||||
|
||||
.content-form textarea:hover:not([disabled]) {
|
||||
border-color: @accent;
|
||||
border-color: @accent-color;
|
||||
}
|
||||
|
||||
/* MESSAGES */
|
||||
@@ -1262,7 +1273,7 @@
|
||||
}
|
||||
|
||||
.inbox-message-subject {
|
||||
color: @accent;
|
||||
color: @accent-color;
|
||||
}
|
||||
|
||||
.inbox-message-message {
|
||||
@@ -1271,7 +1282,7 @@
|
||||
|
||||
.inbox-message-view .inbox-message-message blockquote {
|
||||
background: @crust;
|
||||
border-color: @accent;
|
||||
border-color: @accent-color;
|
||||
}
|
||||
|
||||
body:not([data-whatinput="touch"])
|
||||
@@ -1289,7 +1300,7 @@
|
||||
}
|
||||
|
||||
.inbox .inbox-message--unviewed .inbox-message-status::after {
|
||||
background-color: @accent;
|
||||
background-color: @accent-color;
|
||||
}
|
||||
|
||||
/* ADS */
|
||||
@@ -1309,7 +1320,7 @@
|
||||
.btn-subscribe,
|
||||
.btn-subscribe:hover,
|
||||
.btn-subscribe:active {
|
||||
background-color: @accent !important;
|
||||
background-color: @accent-color !important;
|
||||
}
|
||||
.listening-report-brick--upsell {
|
||||
display: none;
|
||||
@@ -1342,18 +1353,18 @@
|
||||
.clipboard-button:focus,
|
||||
body:not([data-whatinput="touch"]) .clipboard-button .focus-visible,
|
||||
body:not([data-whatinput="touch"]) .clipboard-button:hover {
|
||||
background-color: @accent !important;
|
||||
background-color: @accent-color !important;
|
||||
color: @base !important;
|
||||
}
|
||||
.api-session-disconnect {
|
||||
background-color: @accent-dim !important;
|
||||
background-color: @accent-color-dim !important;
|
||||
color: @base !important;
|
||||
}
|
||||
/* -----Shortcut Button------ */
|
||||
.btn-shortcut,
|
||||
.btn-shortcut:hover,
|
||||
.btn-shortcut:active {
|
||||
background-color: @accent-dim !important;
|
||||
background-color: @accent-color-dim !important;
|
||||
color: @text !important;
|
||||
}
|
||||
/* ------HEADER----- */
|
||||
@@ -1397,7 +1408,7 @@
|
||||
color: @text !important;
|
||||
}
|
||||
.player-bar .player-bar-progress-slug {
|
||||
background: @accent;
|
||||
background: @accent-color;
|
||||
}
|
||||
.masthead-nav-control,
|
||||
.site-auth-control,
|
||||
@@ -1422,7 +1433,7 @@
|
||||
&:focus,
|
||||
&:hover {
|
||||
background-color: transparent;
|
||||
color: @accent !important;
|
||||
color: @accent-color !important;
|
||||
}
|
||||
}
|
||||
.site-auth-control.btn-secondary {
|
||||
@@ -1432,7 +1443,7 @@
|
||||
background-color: @mantle;
|
||||
}
|
||||
.masthead-search-submit {
|
||||
background-color: @accent;
|
||||
background-color: @accent-color;
|
||||
color: @base;
|
||||
}
|
||||
body:not(.js-focus-visible)
|
||||
@@ -1440,7 +1451,7 @@
|
||||
.masthead-search-submit:focus,
|
||||
body:not([data-whatinput="touch"]) .masthead-search-submit .focus-visible,
|
||||
body:not([data-whatinput="touch"]) .masthead-search-submit:hover {
|
||||
background-color: @accent;
|
||||
background-color: @accent-color;
|
||||
color: @base;
|
||||
}
|
||||
.masthead-search-field {
|
||||
@@ -1461,15 +1472,15 @@
|
||||
.library-controls .secondary-nav .secondary-nav-item-link--active:focus,
|
||||
.library-controls .secondary-nav .secondary-nav-item-link--active:hover,
|
||||
body:not([data-whatinput="touch"]) .catalogue-tags .tag a:hover {
|
||||
color: @accent !important;
|
||||
color: @accent-color !important;
|
||||
}
|
||||
/* ------ARTIST TAGS----- */
|
||||
.catalogue-tags .tag a,
|
||||
.catalogue-tags .tags-add,
|
||||
.catalogue-tags .tags-add-cta,
|
||||
body:not([data-whatinput="touch"]) .catalogue-tags .tag a:hover {
|
||||
color: @accent;
|
||||
box-shadow: inset 0 0 0 1px @accent-dim;
|
||||
color: @accent-color;
|
||||
box-shadow: inset 0 0 0 1px @accent-color-dim;
|
||||
}
|
||||
/* -----HIDE PLAY BUTTON ON TOP TRACK------ */
|
||||
.image-overlay-playlink-link::before {
|
||||
@@ -1480,7 +1491,7 @@
|
||||
background-color: fadeout(@mantle, 0.8);
|
||||
}
|
||||
.globalchart-item:first-child .globalchart-rank {
|
||||
color: @accent !important;
|
||||
color: @accent-color !important;
|
||||
}
|
||||
.globalchart-item .globalchart-rank {
|
||||
color: @text;
|
||||
@@ -1493,7 +1504,7 @@
|
||||
display: none !important;
|
||||
}
|
||||
h1.text-24 {
|
||||
color: @accent;
|
||||
color: @accent-color;
|
||||
}
|
||||
.checkbox {
|
||||
color: @text;
|
||||
@@ -1556,7 +1567,7 @@
|
||||
.lyrics-snippet-more-link ::before,
|
||||
.trending-tracks-more-link ::before,
|
||||
.more-link-fullwidth-right ::before {
|
||||
.mask-image(url("/static/images/icons/arrow_small_right_005399_12.8f025ef116be.png"), @accent);
|
||||
.mask-image(url("/static/images/icons/arrow_small_right_005399_12.8f025ef116be.png"), @accent-color);
|
||||
}
|
||||
|
||||
.play-this-track-playlink--itunes::before {
|
||||
@@ -1594,7 +1605,7 @@
|
||||
}
|
||||
|
||||
.catalogue-tags .tags-add::before {
|
||||
.mask-image(url("/static/images/icons/add_link_16.637996ed0e2f.png"), @accent);
|
||||
.mask-image(url("/static/images/icons/add_link_16.637996ed0e2f.png"), @accent-color);
|
||||
}
|
||||
|
||||
.masthead-logo-loading {
|
||||
|
||||
Reference in new issue
Block a user