Skip to content

Commit

Permalink
fix: swap mixin for btn-danger
Browse files Browse the repository at this point in the history
  • Loading branch information
danielmatthew committed Apr 23, 2021
1 parent 38043fe commit f91d472
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 11 deletions.
2 changes: 1 addition & 1 deletion docs/assets/css/talis.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/assets/css/talis.css.map

Large diffs are not rendered by default.

23 changes: 14 additions & 9 deletions scss/_buttons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -50,25 +50,30 @@

.btn-outline-danger,
.btn-danger {
@include button-outline-variant(
@include button-variant(
$white,
$red,
$red,
$gray-200,
#a71a22,
#a71a22,
$gray-200,
#a71a22,
#a71a22
#a71a22,
$white,
$gray-500,
$gray-500
)

background-color: $white;

&:hover {
color: #a71a22;
}

&:focus {
color: #a71a22;
background-color: $white;
box-shadow: 0 0 0 $btn-focus-width #a71a22;
}

&:hover:focus {
background-color: $gray-200;
}

&:active {
&:focus {
box-shadow: 0 0 0 $btn-focus-width #a71a22;
Expand Down

0 comments on commit f91d472

Please sign in to comment.