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

This commit is contained in:
Kazhnuz Klappsthul 2021-07-28 17:45:24 +02:00
parent 2e1b180e56
commit 23c2ad7e65
1 changed files with 2 additions and 4 deletions

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);
}
}