Retrospring/app/assets/stylesheets/overrides/_alerts.scss

7 lines
172 B
SCSS

@each $color in $color-names {
.alert-#{$color} {
color: RGB(var(--#{$color}-text));
background-color: var(--#{$color});
border-color: var(--#{$color});
}
}