From 22ccc7c191b4a2479d7031abdb4c21a67cc0336c Mon Sep 17 00:00:00 2001 From: Bogdan Brinza Date: Wed, 13 Nov 2024 14:40:25 -0800 Subject: [PATCH] Making Good Old Game background more vibrant in dark theme --- rest/compton_styles/product-labels.css | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/rest/compton_styles/product-labels.css b/rest/compton_styles/product-labels.css index 50666e2d..538b7209 100644 --- a/rest/compton_styles/product-labels.css +++ b/rest/compton_styles/product-labels.css @@ -79,7 +79,8 @@ } &.good-old-game { - color: var(--c-foreground) + color: var(--c-foreground); + --o: 0.9; } &.good-old-game::before { @@ -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; + } } } }