In v2, .cancel button are secondary

This commit is contained in:
Jean-Baptiste Bellet
2022-12-01 11:33:45 +01:00
parent 03c38aee3c
commit 19d5723dd6

View File

@@ -21,7 +21,7 @@ button,
@include backgroundAndBorder($v2-light-grey);
}
&:not(.disabled):not([disabled]):not(.secondary) {
&:not(.disabled):not([disabled]):not(.secondary):not(.cancel) {
// Change the color of the button only if it's not disabled
@include backgroundAndBorder($v2-blue-light);
@@ -31,7 +31,8 @@ button,
}
}
&.secondary {
&.secondary,
&.cancel {
background-color: $white;
border: 2px solid $v2-blue-light;
color: $v2-blue-light;