chore: use a more button-like approach for colorizing the card header

This commit is contained in:
Kazhnuz 2021-07-28 17:45:24 +02:00
parent 2e1b180e56
commit 23c2ad7e65

View file

@ -75,10 +75,8 @@ $header-margin: $lineheight;
@mixin card-color($background-color) {
& .card-header, & .menu-header {
@include background-color($background-color);
&:before {
@include background-color($background-color);
}
@include colorize-button($background-color);
color:getTextColorFromBackground($background-color);
}
}