fix(ui): move *:focus-visible rule into @layer base to allow brand ring override#209
fix(ui): move *:focus-visible rule into @layer base to allow brand ring override#209RavindiFernando wants to merge 1 commit into
Conversation
|
@RavindiFernando is attempting to deploy a commit to the jhasourav07's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
👋 Hey @RavindiFernando, welcome to CommitPulse! 🎉 Thanks for opening your first pull request — this is a big deal and we appreciate the effort! While you wait for a review, please double-check:
A maintainer will review your PR shortly. Hang tight! 🚀 |
There was a problem hiding this comment.
Pull request overview
This PR fixes the “default blue focus ring” issue by ensuring the global *:focus-visible outline rule participates in Tailwind v4’s layer-based cascade, allowing component/utility focus styles (e.g., the brand ring on the landing page input) to override it correctly.
Changes:
- Moved the global
*:focus-visibleoutline styling into@layer baseinapp/globals.cssso Tailwind utilities can override it.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Description
Fixes #61
Root Cause
Fix
Result
Pillar
Visual Preview
Checklist before requesting a review:
CONTRIBUTING.mdfile.localhost:3000/api/streak?user=YOUR_USERNAME).npm run formatandnpm run lintlocally and resolved all errors (CI will fail otherwise).feat(themes): ...,fix(calculate): ...).README.mdif I added a new theme or URL parameter.