Replace focus-ring-visible usage with Tailwind's built-in equivalent #2083
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.
Replace uses of our custom
focus-ring-visibleutility with Tailwind's built-in equivalent styles (focus-ring:visible focus-ring:outline-none). The original reason for our custom utility was to support a polyfill for:focus-visible, but we no longer need/use that polyfill.This looks the same as before but will be easier to migrate to Tailwind v4. In Tailwind v3
outline-nonedoesn't actually generateoutline-style: none, but the result is equivalent for our purposes. Seehttps://tailwindcss.com/docs/upgrade-guide#renamed-outline-utility.
The focus-ring-visible plugin is still included in the package because downstream apps are still using it. We can remove it after the same migration is applied there.