Skip to content

Commit

Permalink
Make .text-emphasis-variant adjust :focus color in addition to :hover…
Browse files Browse the repository at this point in the history
… color

Closes #16047 by merging a tweaked version of it.
  • Loading branch information
monoblaine authored and cvrebert committed Mar 26, 2015
1 parent 39a05d7 commit ba2d556
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion less/mixins/text-emphasis.less
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

.text-emphasis-variant(@color) {
color: @color;
a&:hover {
a&:hover,
a&:focus {
color: darken(@color, 10%);
}
}

0 comments on commit ba2d556

Please sign in to comment.