chore: use a more button-like approach for colorizing the card header
This commit is contained in:
parent
2e1b180e56
commit
23c2ad7e65
1 changed files with 2 additions and 4 deletions
|
@ -75,10 +75,8 @@ $header-margin: $lineheight;
|
||||||
|
|
||||||
@mixin card-color($background-color) {
|
@mixin card-color($background-color) {
|
||||||
& .card-header, & .menu-header {
|
& .card-header, & .menu-header {
|
||||||
@include background-color($background-color);
|
@include colorize-button($background-color);
|
||||||
&:before {
|
color:getTextColorFromBackground($background-color);
|
||||||
@include background-color($background-color);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue