Skip to content

fix(site): darken the headline's pink in light mode - #1453

Merged
devswha merged 1 commit into
mainfrom
fix/ovis-site-headline-contrast
Oct 20, 2026
Merged

devswha merged 1 commit into
mainfrom
fix/ovis-site-headline-contrast

Conversation

@devswha

@devswha devswha commented Oct 20, 2026

Copy link
Copy Markdown
Owner

Change

Follow-up to #1447 (merged before CodeRabbit's contrast thread was addressed). The headline's em on / and /ko/ ("in your pocket.", "주머니 속에.") used the icon's pink, #f29ca3, which is 1.96:1 on the light background (#fbf7f2), below WCAG 2.1's 3:1 for large text. Light mode now uses a text pink, --pink-text: #b84a60 (4.70:1, which also passes 4.5:1); dark mode keeps #f29ca3 on #131a2b.

Only ovis-site/style.css changes.

Checked

  • Contrast computed with the WCAG relative-luminance formula: #f29ca3 1.96:1, #b84a60 4.70:1 on #fbf7f2.

The icon's pink (#f29ca3) is 1.96:1 on the light background, below WCAG's 3:1 for large text. A text pink (#b84a60, 4.7:1) is used in light mode; dark mode keeps the icon's pink.
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying ovis with  Cloudflare Pages  Cloudflare Pages

Latest commit: b0e6825
Status: ✅  Deploy successful!
Preview URL: https://8457b453.ovis.pages.dev
Branch Preview URL: https://fix-ovis-site-headline-contr.ovis.pages.dev

View logs

@coderabbitai

coderabbitai Bot commented Oct 20, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Repository: devswha/herdr-web-ui/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 42b133aa-87d1-43cf-8501-d6a1179b6731
📥 Commits

Reviewing files that changed from the base of the PR and between 06cbf69 and b0e6825.

📒 Files selected for processing: 1
  • ovis-site/style.css

Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 2 remain after this review.

📝 Summary

Summary by CodeRabbit

  • Style
    • Improved hero heading emphasis with theme-aware pink text colors for better readability in both light and dark modes.

The stylesheet adds light- and dark-theme --pink-text variables. Emphasized hero heading text now uses var(--pink-text).

Changes: Hero heading text colors

Layer / File(s) Summary
Define and apply pink text colors
ovis-site/style.css
The stylesheet defines --pink-text for light and dark themes. Emphasized hero heading text uses this variable.

Priority: ⬇️ Low

Estimated code review effort: 1 (Trivial) | ~4 minutes

Change: Bug fix

Merge Risk: ⚪ Minimal · up to b0e68

The color update is mergeable with no identified user-facing or operational risk.

Pre-merge checks: Passed 5
Check name Status Explanation
Title check Passed The title clearly identifies the main change: darkening the headline pink in light mode.
Description check Passed The description explains the problem, resulting behavior, affected file, contrast values, and validation method. The "Checked" section provides the required validation information despite using a diff…
Docstring Coverage Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Description check

Explanation

The description explains the problem, resulting behavior, affected file, contrast values, and validation method. The "Checked" section provides the required validation information despite using a different heading from the template.

Full details: Docstring Coverage

Explanation

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.)

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

@devswha

devswha commented Oct 20, 2026

Copy link
Copy Markdown
Owner Author

Merging: a one-line CSS color change for #1447's headline (follow-up to CodeRabbit's contrast thread there). Checked by rendering the site locally at 1280 and 390 wide: light mode draws the headline's pink as rgb(184, 74, 96), 4.70:1 on the background; dark mode keeps #f29ca3; no horizontal overflow. Required checks green. CodeRabbit did not review it.

@devswha
devswha merged commit 5ef661e into main Oct 20, 2026
10 checks passed
@devswha
devswha deleted the fix/ovis-site-headline-contrast branch October 20, 2026 14:14
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