color SCSS update social area+ decorator fix

This commit is contained in:
Inga Kirschnick
2023-03-02 15:08:50 +01:00
parent b364480de6
commit 8a55ce902e
6 changed files with 37 additions and 22 deletions

View File

@ -22,6 +22,11 @@ $color: (
"surface": #ffffff,
"error": #b00020
),
"social-area": (
"base": #d6ae86,
"darken": #C98536,
"lighten": #EAE2DB
),
"service": (
"corpus-analysis": (
"base": #aa9cc9,
@ -108,6 +113,16 @@ $color: (
}
}
@each $key, $color-code in map-get($color, "social-area") {
.social-area-color-#{$key} {
background-color: $color-code !important;
}
.social-area-color-border-#{$key} {
border-color: $color-code !important;
}
}
@each $service-name, $color-palette in map-get($color, "service") {
.service-color[data-service="#{$service-name}"] {
background-color: map-get($color-palette, "base") !important;