You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(newhome): follow the theme toggle; drop the chest's green halo
/newhome was pinned dark. It painted its own near-black ground over the
whole viewport and hardcoded every grey, so the theme toggle did nothing
on the route.
The chrome is expressed as the app's semantic tokens now — background,
foreground, card, muted, border — which already flip with `.dark`. Brand
accents stay literal: gold, the status greens and reds, and the rarity
colours carry meaning and read on either ground.
Two things needed more than a class swap:
- The hero headline is `bg-clip-text` over a gradient. Hardcoded to
near-white it was invisible on a light ground, so the gradient is built
from `var(--foreground)` and tracks the theme.
- The auction's inactive badge and the proposals' neutral vote tone were
literal `rgba(255,255,255,…)`; both are `color-mix` against the
foreground token now.
Set pieces stay dark on purpose — the CRT, the foil bounty table and the
globe panel are objects on a stage, like a photo or a video player, and
they read against a light page rather than inverting with it.
Also removes the green halo behind the rewards chest: the float and the
badge already say something is there, and it painted a green disc behind
a gold object.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
0 commit comments