Skip to content

Commit

Permalink
Merge pull request #16190 from kraktus/lichess_ublog_light
Browse files Browse the repository at this point in the history
Ublog: fix Lichess name color on light mode
  • Loading branch information
ornicar authored Oct 9, 2024
2 parents e626617 + d728a24 commit 1ff27a1
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions ui/bits/css/ublog/_card.scss
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,17 @@
bottom: 0;
}
@include padding-direction(0.2em, 0.5em, 0.3em, 0.5em);
--c-ublog-post-card-over-image: #ddd;
@include if-light {
--c-ublog-post-card-over-image: #333;
}

background: rgba(0, 0, 0, 0.65);
color: #ddd;
color: --c-ublog-post-card-over-image;
text-shadow: 0 1px 1px black;

@include if-light {
background: rgba(255, 255, 255, 0.65);
color: #333;
text-shadow: 0 1px 1px white;
}
opacity: 1;
Expand Down

0 comments on commit 1ff27a1

Please sign in to comment.