Skip to content

Commit

Permalink
Fix :focus styles for <a>
Browse files Browse the repository at this point in the history
  • Loading branch information
brookback committed Mar 1, 2023
1 parent 3e2de89 commit 560a428
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
6 changes: 5 additions & 1 deletion src/setup/elements.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,14 @@ abbr[data-tooltip] {
a {
color: var(--link-color);

&:hover {
&:hover, &:focus-visible {
color: var(--link-color-hover);
text-decoration: underline;
}

&:focus {
outline: 0;
}
}

b,
Expand Down
5 changes: 1 addition & 4 deletions src/variables.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,13 @@

--background-color: theme('backgroundColor.body');
--text-color: theme('textColor.body');

--heading-color: var(--blue-80);

--selection-background: var(--blue-80);
--selection-color: #fff;

--ring-color: var(--blue-50);

/* Elements */

/** Sets the default padding for controls like buttons and form inputs. */
--control-padding: 0.6em 1em;

Expand Down

0 comments on commit 560a428

Please sign in to comment.