Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
fix(button): Fixes anchor button disabled styles not being applied on…
Browse files Browse the repository at this point in the history
… visited links.
  • Loading branch information
ffriedl89 authored and thomaspink committed Sep 24, 2021
1 parent 5c5e4f3 commit 05e6248
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 @@ -43,7 +43,8 @@ a.dt-button-primary:visited {
color: #ffffff;
}

.dt-button-primary[disabled] {
.dt-button-primary[disabled],
a.dt-button-primary[disabled] {
background: $disabledcolor;
border-color: $disabledcolor;
color: #ffffff;
Expand All @@ -61,7 +62,8 @@ a.dt-button-primary:visited {
border-color: #ffffff;
}

.dt-button-primary[disabled] {
.dt-button-primary[disabled],
a.dt-button-primary[disabled] {
background: rgba(255, 255, 255, 0.2);
border-color: rgba(255, 255, 255, 0.2);
color: rgba(255, 255, 255, 0.6);
Expand Down

0 comments on commit 05e6248

Please sign in to comment.