Skip to content

Commit

Permalink
Improved accessibility for button--negative
Browse files Browse the repository at this point in the history
  • Loading branch information
lucascumsille committed Oct 15, 2024
1 parent 33b7249 commit 806e515
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions www/docs/style/sass/_twfy-mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -274,19 +274,12 @@ button {
}
}

.button--negative {
background-color: $colour_pale_red;
&:hover {
background-color: darken($colour_pale_red, 10%);
}
}
x
.button--red {
background-color: red;
.button--red, .button--negative {
background-color: $color_red;
&:hover {
background-color: darken($colour_pale_red, 10%);
background-color: darken($color_red, 10%);
}
}
}

.button--disabled,
.button--disabled:hover {
Expand Down

0 comments on commit 806e515

Please sign in to comment.