Skip to content

Commit

Permalink
fix(button): Increases specificity for anchor button selectors that c…
Browse files Browse the repository at this point in the history
…onflicted with visited link overrides.
  • Loading branch information
ffriedl89 committed May 27, 2020
1 parent ab8a372 commit 23bee1c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions libs/barista-components/button/src/_button-theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
////////////////////////////
// Primary Button
////////////////////////////
.dt-button-primary {
.dt-button-primary,
a.dt-button-primary {
background: var(--dt-button-default-color);
border-color: var(--dt-button-default-color);
color: #ffffff;
Expand Down Expand Up @@ -72,7 +73,8 @@
////////////////////////////
// Secondary Button
////////////////////////////
.dt-button-secondary {
.dt-button-secondary,
a.dt-button-secondary {
background: transparent;
border-color: var(--dt-button-default-color);
color: var(--dt-button-default-color);
Expand Down

0 comments on commit 23bee1c

Please sign in to comment.