Skip to content

fix(web): lighten hero backdrop and simplify scrim layers - #1069

Merged
Quick104 merged 1 commit into
apiv2from
t3code/hero-backdrop-crop-redesign
Sep 13, 2026
Merged

Quick104 merged 1 commit into
apiv2from
t3code/hero-backdrop-crop-redesign

Conversation

@Quick104

Copy link
Copy Markdown
Contributor

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 bump HERO_BANNER_SIZE slightly 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-web not 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

  • I read and can explain the complete diff.
  • This pull request addresses one concern.

AI Disclosure

  • Harness: opencode
  • Tool(s): opencode
  • Model(s): deepseek-v4.1-flash
  • Involvement: Fully AI-generated, human verified
  • Adversarial review: n/a

- 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
@coderabbitai

coderabbitai Bot commented Sep 13, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: 085c2b8a-b085-40bf-a595-443b56c288db

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 13, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-13T19:37:19.153705Z c0ad000 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@Quick104
Quick104 merged commit 83bdfae into apiv2 Sep 13, 2026
4 of 5 checks passed
@Quick104
Quick104 deleted the t3code/hero-backdrop-crop-redesign branch September 13, 2026 19:36
@greptile-apps

greptile-apps Bot commented Sep 13, 2026

Copy link
Copy Markdown

RetriggerConfidence Score: 5/5

The PR appears safe to merge; no concrete behavioral, security, or repository-rule violations were identified.

Reviews (1) · Last reviewed commit: "fix(web): lighten hero backdrop and simp..."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant