Skip to content

Commit

Permalink
Making Good Old Game background more vibrant in dark theme
Browse files Browse the repository at this point in the history
  • Loading branch information
boggydigital committed Nov 13, 2024
1 parent 291b5e3 commit 22ccc7c
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion rest/compton_styles/product-labels.css
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@
}

&.good-old-game {
color: var(--c-foreground)
color: var(--c-foreground);
--o: 0.9;
}

&.good-old-game::before {
Expand All @@ -104,6 +105,13 @@
border-radius: var(--s-xxs);
content: "";
background: var(--c-background);
opacity: var(--o);
}

@media screen and (prefers-color-scheme: dark) {
&.good-old-game::after {
--o: 0.8;
}
}
}
}

0 comments on commit 22ccc7c

Please sign in to comment.