feat(ui): glassmorphism phase 1 — frost the app chrome
Apply the real frosted .glass surface (blur) to the few large chrome surfaces — the nav sidebar, the header and all Modal-based dialogs (was glass-card / plain surfaces) — and enrich the ambient backdrop a touch (three soft accent pools) so the glass has more to refract app-wide. Popovers (notifications, language, account, add-to-playlist) were already glass. Bulk feed cards stay glass-card (no per-card blur) for performance; the existing perf-mode still disables blur. Phase 2 (ambient thumbnail mosaic / bg image + toggle) deferred to end-of-project polish.
This commit is contained in:
parent
0c40d1d5e9
commit
15718936fa
4 changed files with 9 additions and 6 deletions
|
|
@ -22,10 +22,13 @@ html {
|
|||
body {
|
||||
margin: 0;
|
||||
color: var(--fg);
|
||||
/* Ambient backdrop so translucent "glass" surfaces have soft color to refract. */
|
||||
/* Ambient backdrop so translucent "glass" surfaces have soft color to refract. Kept
|
||||
subtle but a touch richer (three soft pools, incl. a bottom glow) now that the nav,
|
||||
header and dialogs are all frosted glass and refract it. */
|
||||
background:
|
||||
radial-gradient(1100px 620px at 12% -8%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 60%),
|
||||
radial-gradient(1000px 700px at 112% 8%, color-mix(in srgb, var(--accent) 9%, transparent), transparent 55%),
|
||||
radial-gradient(1100px 620px at 10% -10%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 60%),
|
||||
radial-gradient(1000px 720px at 115% 10%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 55%),
|
||||
radial-gradient(900px 640px at 50% 118%, color-mix(in srgb, var(--accent) 11%, transparent), transparent 60%),
|
||||
var(--bg);
|
||||
background-attachment: fixed;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue