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:
@@ -7,8 +7,8 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@mixin brand-background($color: $brand) {
|
@mixin brand-background {
|
||||||
@include background-with-text-contrast($color);
|
@include background-with-text-contrast($brand);
|
||||||
}
|
}
|
||||||
|
|
||||||
@mixin brand-text {
|
@mixin brand-text {
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
$icon-size-with-padding: $icon-size + $padding-right;
|
$icon-size-with-padding: $icon-size + $padding-right;
|
||||||
$polygon-size: $icon-size / 2;
|
$polygon-size: $icon-size / 2;
|
||||||
@include background-till-left-of-screen;
|
@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: $border-width solid $brand-secondary;
|
||||||
border-bottom-right-radius: rem-calc(12);
|
border-bottom-right-radius: rem-calc(12);
|
||||||
border-top-right-radius: rem-calc(12);
|
border-top-right-radius: rem-calc(12);
|
||||||
|
|||||||
Reference in New Issue
Block a user