Skip to content

Commit

Permalink
Ensure focus state is visible when text color is white
Browse files Browse the repository at this point in the history
  • Loading branch information
ryelle committed Apr 19, 2024
1 parent 903f4d4 commit 3981810
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions css/includes/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ input[type="reset"]:focus {
outline-offset: 2px;
outline-style: dashed;
outline-width: 1px;

.has-base-color > & {
outline-color: var(--wp--preset--color--base);
}
}

a:focus,
Expand Down
5 changes: 5 additions & 0 deletions style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3981810

Please sign in to comment.