Repository navigation
fix(studio): replace form-group green focus shadows with focus-ring - #48221
Conversation
|
This pull request has been ignored for the connected project Preview Branches by Supabase. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
📝 WalkthroughWalkthroughStudio form inputs now use shared focus-ring utilities, remove the hard-coded green focus outline, and apply destructive focus styling to invalid inputs. ChangesStudio input focus styling
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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. Comment |
🎭 Playwright Test Results (tanstack)Details
Skipped testsFeatures › auth-users.spec.ts › should show web3 users as enabled when the matching web3 provider is enabled |
Braintrust eval report
|
What kind of change does this PR introduce?
Bug fix / a11y cleanup (DEPR-629).
What is the current behavior?
apps/studio/styles/globals.cssstill styles.form-group/.form-controlinputs with a legacy soft green focus glow (box-shadow: … rgba(62, 207, 142, …)plusring-current). That can fight modern focus rings if those classes are ever present.What is the new behavior?
Those legacy focus rules are removed. Matching inputs use
@apply focus-ringinstead.To test
These CSS selectors are legacy. Easiest before/after is a one-line probe in the browser.
master).master)focus-ringonly (no green glow, no double stack)Optional smoke (no visual change expected): Project Settings → General → Project name — Tab into the field; normal shared focus ring still works.
Additional context