Redefine box styles to be independent of primary/accent for semantics

This commit is contained in:
Jonas Schäfer
2021-01-16 14:52:49 +01:00
parent a88c5b92dd
commit 00f678a86f
3 changed files with 17 additions and 8 deletions

View File

@@ -594,11 +594,11 @@ button.lv-tertiary, .button.lv-tertiary {
@extend .el-1;
@each $type, $values in $colours {
@each $type, $colour in $box-types {
&.#{$type} {
border-color: nth($values, 2);
background-color: nth($values, 9);
color: nth($values, 1);
border-color: nth(map-get($colours, $colour), 2);
background-color: nth(map-get($colours, $colour), 9);
color: nth(map-get($colours, $colour), 1);
}
}
}