Skip to content

Commit

Permalink
Adds focus indicators for buttons same as links
Browse files Browse the repository at this point in the history
  • Loading branch information
SaptakS committed Jun 11, 2024
1 parent ad74937 commit a439137
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions djangoproject/scss/_dark-mode.scss
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,7 @@ html[data-theme="dark"] {
background: transparent;
vertical-align: middle;
padding: 0;
color: var(--menu);
}

.theme-toggle svg {
Expand Down
4 changes: 4 additions & 0 deletions djangoproject/scss/_style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ a {
}
}

button:focus {
outline: 2px solid currentColor;
}

::selection {
// Text Selection Colors
background-color: var(--selection);
Expand Down

0 comments on commit a439137

Please sign in to comment.