Repository navigation
fix(web): lighten hero backdrop and simplify scrim layers - #1069
Conversation
- Raise default hero brightness/saturation and reduce the detail scrim wash - Anchor the bottom fade to the copy block, drop stacked duplicate fades - Replace the left/bottom vignette with a soft radial edge darkening - Grow hero banner sizing for a taller cinematic frame
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Problem
Related issue: N/A — narrow fix
Hero artwork read as a tint rather than as artwork. Dark-theme backdrops used
brightness(0.75)/saturate(0.9), and the hero stacked three bottom fades plus a duplicate left fade that multiplied into a near-solid wash by mid-frame. The effect was heaviest on the detail hero, where the stacked layers obscured the center of the image.Approach
Raise the backdrop default to
brightness(0.9)/saturate(1)and drop the detail scrim from 25% to 10% so the artwork stays visible. Consolidate the redundant layers: the detail hero now uses one bottom fade anchored to the copy block plus a soft radial vignette, and the generic hero vignette no longer repeats the left and bottom fades. Keep the light-theme overrides proportional so it still lifts and desaturates near-white backgrounds. Also bumpHERO_BANNER_SIZEslightly at each breakpoint so the taller frame gives the artwork more room.Gradient stop positions were retuned alongside the opacities so each fade still resolves cleanly rather than clipping to the previous hard stops. Theme-tunable knobs (
--hero-backdrop-brightness,--hero-backdrop-saturate,--hero-backdrop-scrim) are preserved.Validation
CSS and one shared constant only; no automated tests cover these styles. Verified visually in the web frontend across dark and light themes and at desktop breakpoints, confirming the artwork reads through the upper frame while copy keeps sufficient contrast.
make lint/make test-webnot run for this change.Risks
Low. Light-theme overrides were retuned to match the new dark defaults, so both themes should stay balanced. Any custom theme that tuned the scrim knob will see a slightly lighter result. No migration, compatibility, or security impact.
Checklist
AI Disclosure