aboutsummaryrefslogtreecommitdiff
path: root/src/styles/popup.scss
diff options
context:
space:
mode:
authorFuwn <[email protected]>2026-05-15 12:06:40 +0000
committerFuwn <[email protected]>2026-05-15 12:06:40 +0000
commit541b5740a96bdc9585e8e3b88e44955603db862c (patch)
tree70a4782e9d6088bf1ddb411192c913f8b7a3b182 /src/styles/popup.scss
parentstyle(card): move backdrop blur to an opt-in .card-glass modifier (diff)
downloaddue.moe-541b5740a96bdc9585e8e3b88e44955603db862c.tar.xz
due.moe-541b5740a96bdc9585e8e3b88e44955603db862c.zip
refactor(colours): tokenise card shadows and scrims
Introduce --shadow-card, --shadow-card-emphasized, --shadow-cta, --scrim, --scrim-soft, and --scrim-banner. Migrate 14 inline literals (card.css, input.css, Notification, MediaRoulette, the two Landing CTA buttons, the popup overlay, the palette and roulette scrims, three identity banners, the user profile cover art shadow) onto the tokens, with light/dark adaptation handled by the existing prefers-color-scheme blocks instead of duplicated inline. Two single-use Landing demo-focus values stay inline.
Diffstat (limited to 'src/styles/popup.scss')
-rw-r--r--src/styles/popup.scss2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/styles/popup.scss b/src/styles/popup.scss
index 97b2e3d1..463a17d8 100644
--- a/src/styles/popup.scss
+++ b/src/styles/popup.scss
@@ -13,7 +13,7 @@
.popup-fullscreen {
width: 100%;
height: 100%;
- background-color: rgba(0, 0, 0, 0.5);
+ background-color: var(--scrim-soft);
z-index: 3;
backdrop-filter: blur(8px);
}