Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2004 +/- ##
========================================
Coverage 43.19% 43.19%
========================================
Files 575 575
Lines 24746 24746
Branches 8214 8214
========================================
Hits 10690 10690
- Misses 13380 14007 +627
+ Partials 676 49 -627 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
…lines [VRT] Update baselines for improvement/button-outlines
sjd210
approved these changes
Feb 25, 2026
Contributor
sjd210
left a comment
There was a problem hiding this comment.
I remember you specifically making the change to migrate things over to box-shadow, but I also can't find the reason for it - and looking online there doesn't seem to be much consensus over the better way to do things.
I'm happy as long as we're mostly consistent, and I've checked over various buttons in different contexts which are working well, so this is all fine.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Reverts to using
outlineandoutline-offsetto manage button :focus rings.I'm sure there was a reason for using box shadow at the time, but I can't find it now. Using outlines is much cleaner as it does not require that the background be a specific colour. It is less flexible r.e. shape, but for buttons this is okay (for other cases there is the focus-outline mixin that uses box-shadow when required)