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) {
|
||||
& .card-header, & .menu-header {
|
||||
@include background-color($background-color);
|
||||
&:before {
|
||||
@include background-color($background-color);
|
||||
}
|
||||
@include colorize-button($background-color);
|
||||
color:getTextColorFromBackground($background-color);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue