Skip to content

[Fix] [Portfolio]: Resolve text selection styling in globals.css - #195

Merged
Gautam25Raj merged 1 commit into
VeriWorkly:masterfrom
nik1062:fix/portfolio-selection-style
Aug 20, 2026
Merged

[Fix] [Portfolio]: Resolve text selection styling in globals.css#195
Gautam25Raj merged 1 commit into
VeriWorkly:masterfrom
nik1062:fix/portfolio-selection-style

Conversation

@nik1062

@nik1062 nik1062 commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

Description

This PR fixes the issue on the portfolio website where text selection was defaulting to the browser's

default highlight color instead of the custom accent colors.

### Changes Made
- Modified `apps/portfolio/app/globals.css`.
- Added `!important` overrides to the `::selection` block to enforce `var(--color-accent)` (background)

and var(--color-accent-ink) (text color).
- Added a universal *::selection selector to ensure the custom selection styling applies globally to
all child elements.

*(Note to reviewer: This is a fresh branch replacing my previous PR to ensure a clean commit history.

The unintended package-lock.json and mock-template-library.mjs files have been completely removed
from the scope of this PR).*

@Gautam25Raj Gautam25Raj left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome work on this PR @nik1062! 🎉

Thank you for contributing to VeriWorkly. It's always great to see community members taking the initiative to improve the project. I really appreciate the time and effort you put into this contribution.

Keep up the great work, and I hope to see more contributions from you in the future! 🚀

@Gautam25Raj
Gautam25Raj merged commit 0a9fafd into VeriWorkly:master Aug 20, 2026
11 checks passed
@Gautam25Raj Gautam25Raj added frontend UI/client-side code ui/ux Design or user experience improvements labels Aug 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

frontend UI/client-side code ui/ux Design or user experience improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants