Skip to content

Use color-mix for text selection highlights#94

Open
BunsDev wants to merge 1 commit intomainfrom
okcode/selection-highlights
Open

Use color-mix for text selection highlights#94
BunsDev wants to merge 1 commit intomainfrom
okcode/selection-highlights

Conversation

@BunsDev
Copy link
Copy Markdown
Contributor

@BunsDev BunsDev commented Mar 29, 2026

Summary

  • Update the global ::selection styling to use color-mix(in srgb, ...) for the highlight background.
  • Keep selection text color aligned with the foreground token.
  • Small CSS-only change in apps/web/src/index.css.

Testing

  • Not run (CSS-only change).
  • Reviewed the diff for the ::selection rule update.

- Make selection background use `color-mix()`
- Keep selection foreground aligned with the default text color
@vercel
Copy link
Copy Markdown

vercel bot commented Mar 29, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
okcode-marketing Ready Ready Preview Mar 29, 2026 6:24am

@github-actions github-actions bot added size:XS vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. labels Mar 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant