Skip to content

Commit

Permalink
fix(docs): fix missing focus styles for some links (#4375)
Browse files Browse the repository at this point in the history
Co-authored-by: Heather Buchel <buchel@amazon.com>
  • Loading branch information
hbuchel and Heather Buchel authored Aug 23, 2023
1 parent e1fc611 commit 153dd04
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions docs/src/styles/docs/base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -89,15 +89,16 @@ a:not([class]) {
&:focus {
color: var(--amplify-components-link-hover-color);
}
&:active {
color: var(--amplify-components-link-active-color);
}
}

a {
&:focus-visible {
outline: none;
box-shadow: 0 0 0 2px var(--amplify-colors-border-focus);
}

&:active {
color: var(--amplify-components-link-active-color);
}
}

blockquote {
Expand Down

0 comments on commit 153dd04

Please sign in to comment.