Simplify brand-background mixin

We don't need the color parameter anymore since we can now use a more
generic mixin for any background, like brand-secondary.
This commit is contained in:
Javi Martín
2022-10-29 13:51:14 +02:00
parent e248a40ff3
commit d4c8606f43
2 changed files with 3 additions and 3 deletions

View File

@@ -7,8 +7,8 @@
}
}
@mixin brand-background($color: $brand) {
@include background-with-text-contrast($color);
@mixin brand-background {
@include background-with-text-contrast($brand);
}
@mixin brand-text {

View File

@@ -14,7 +14,7 @@
$icon-size-with-padding: $icon-size + $padding-right;
$polygon-size: $icon-size / 2;
@include background-till-left-of-screen;
@include brand-background($brand-secondary);
@include background-with-text-contrast($brand-secondary);
border: $border-width solid $brand-secondary;
border-bottom-right-radius: rem-calc(12);
border-top-right-radius: rem-calc(12);