Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
stacyk committed Sep 27, 2023
1 parent be56d59 commit 91575ef
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
7 changes: 4 additions & 3 deletions src/sass/initial/_links.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@

// Hide default browser focus for mouse-users but interactive elements will
// have custom focus styles applied
:focus:not(:focus-visible) { outline: none }
:focus:not(:focus-visible) {
outline: none;
}

// Focus
// -----
Expand All @@ -31,8 +33,7 @@ a {
text-decoration-thickness: var(--line-thickness, var(--border-width));
transition:
color var(--fast),
text-decoration-thickness var(--fast)
transform var(--fast);
text-decoration-thickness var(--fast) transform var(--fast);
transform: scale(1);
}

Expand Down
4 changes: 2 additions & 2 deletions src/sass/patterns/_buttons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ button {
var(--btn-padding-inline, var(--gutter));
transition:
color var(--fast),
background-color var(--fast)
transform var(--fast);
background-color var(--fast) transform var(--fast);

&:hover,
&:focus {
Expand All @@ -43,6 +42,7 @@ button {

&:focus-visible {
--outline-width: 0;

transform: scale(1.15);
}
}

0 comments on commit 91575ef

Please sign in to comment.