deckhearth/styles
Randall Stillwell 70506b1f13 fix(design-system): unblock body hearth gradient + boost intensity
CDP diagnostic on deckhearth.com/dashboard after PR #100 found that
the body gradient was being applied but completely invisible. Root
cause: Layout.js line 610's root flex container had

  style={{ backgroundColor: 'var(--bg-primary)' }}

That paints an opaque warm-white over the entire viewport, directly
on top of the body's hearth gradient. The gradient was painting and
the body element confirmed it via getComputedStyle, but no pixel of
it reached the screen because the 1118x984 Layout root sat opaquely
above it.

Fix part 1: remove the backgroundColor from Layout's root <div>. The
desktop sidebar (lines 738-744) and the mobile drawer (lines 630-640)
already have their own translucent glass backgrounds via
var(--glass-surface-mid) + backdrop-filter, so they don't depend on
the parent. The main content area (line 822) is intentionally
transparent. Removing the opaque parent lets the body gradient show
through everything except the explicit glass surfaces.

Fix part 2: boost gradient intensity. The 8%/6% alpha radials from
PR #100 are technically there but visually undetectable. Bumped to:
  - 28% ember at bottom-left (the seat of the fire)
  - 18% ember at bottom-right (keeps wide displays from feeling
    lopsided)
  - 16% gold top-right (smoke catching last light)
And added a third linear-gradient color stop so the warmth ramps
visibly from top to bottom rather than being a flat 2-step.

Together these make the "fireplace warmth" actually perceptible,
which gives every glass surface a non-uniform substrate to blur —
finally fulfilling the original "Liquid Glass over hearth" brief
that PRs #97/#98/#99/#100 each got partway toward.

Lint + vitest + build all green locally.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-04 09:34:46 -05:00
..
globals.css fix(design-system): unblock body hearth gradient + boost intensity 2026-06-04 09:34:46 -05:00