Skip to content

Commit

Permalink
Fix active/focused button link text color
Browse files Browse the repository at this point in the history
  • Loading branch information
julien-deramond authored and mdo committed Jul 18, 2022
1 parent d262a50 commit 150b374
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions scss/_buttons.scss
Expand Up @@ -147,6 +147,7 @@
--#{$prefix}btn-border-color: transparent;
--#{$prefix}btn-hover-color: #{$btn-link-hover-color};
--#{$prefix}btn-hover-border-color: transparent;
--#{$prefix}btn-active-color: #{$btn-link-hover-color};
--#{$prefix}btn-active-border-color: transparent;
--#{$prefix}btn-disabled-color: #{$btn-link-disabled-color};
--#{$prefix}btn-disabled-border-color: transparent;
Expand All @@ -160,6 +161,14 @@
text-decoration: $link-hover-decoration;
}

&:focus {
color: var(--#{$prefix}btn-color);
}

&:hover {
color: var(--#{$prefix}btn-hover-color);
}

// No need for an active state here
}

Expand Down

0 comments on commit 150b374

Please sign in to comment.