Skip to content

Commit

Permalink
fix: button as link don't reflect focus state
Browse files Browse the repository at this point in the history
  • Loading branch information
czabaj committed Sep 12, 2024
1 parent 5dd0fec commit 992b250
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/styles/components/link.module.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
.base {
appearance: none;
font: inherit;
color: var(--link-text, var(--text-3));
display: inline;
letter-spacing: 0.02em;
text-decoration: underline;
}
.base:hover {
color: currentColor;
}
.base:focus {
outline: 2px solid -webkit-focus-ring-color;
outline-offset: 2px;
}

0 comments on commit 992b250

Please sign in to comment.