Skip to content

Commit dc9a0cd

Browse files
authored
fix(lastfm): theme recs-feed icons (catppuccin#692)
* fix(lastfm): theme recs-feed icons * fix(lastfm): theme recs-feed loved icon * fix(lastfm): typo fix * fix(lastfm): typo fix (the fixening)
1 parent 4ebe398 commit dc9a0cd

1 file changed

Lines changed: 27 additions & 4 deletions

File tree

styles/lastfm/catppuccin.user.css

Lines changed: 27 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
@name Last.fm Catppuccin
33
@namespace github.com/catppuccin/userstyles/styles/lastfm
44
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/lastfm
5-
@version 1.1.7
5+
@version 1.1.8
66
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/lastfm/catppuccin.user.css
77
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Alastfm
88
@description Soothing pastel theme for Last.fm
@@ -368,10 +368,33 @@
368368
.category-colors();
369369
}
370370
}
371-
.recs-feed-item .context::after,
372-
.recs-feed .recs-feed-item .recs-feed-avatar::after {
373-
background-color: var(--category-background) !important;
371+
@media (min-width: 768px) {
372+
.recs-feed .context::before {
373+
border-radius: 50%;
374+
content: "";
375+
height: 32px;
376+
left: auto;
377+
position: absolute;
378+
right: 15px;
379+
top: -16px;
380+
width: 32px;
381+
background: var(--category-background) !important;
382+
z-index: 1;
374383
}
384+
.recs-feed .recs-feed-item .context::after {
385+
.mask-image(url("/static/images/icons/rec_types_16.93a8040cce71.png"), @crust, 0 0, 32px 160px, no-repeat);
386+
z-index: 2;
387+
}
388+
.recs-feed .recs-feed-item--album .context::after {
389+
-webkit-mask-position: 0 -64px;
390+
}
391+
.recs-feed .recs-feed-item--artist .context::after {
392+
-webkit-mask-position: 0 -32px;
393+
}
394+
}
395+
.recs-feed .context-love-icon::before {
396+
.mask-image(url("/static/images/icons/love_12.be2fe9170476.png"), @red, 0 0, 12px 12px, no-repeat);
397+
}
375398
.secondary-nav {
376399
box-shadow: inset 0 -1px @accent-color;
377400
}

0 commit comments

Comments
 (0)