Adjust casing of $colorNames variable

This commit is contained in:
Andreas Nedbal 2020-04-29 18:17:10 +02:00
parent c4c0c44eec
commit e8bbf2c2f1
4 changed files with 4 additions and 4 deletions

View File

@ -11,7 +11,7 @@ $list-group-border-width: 0;
$nprogress-color: lighten($navbar-inverse-bg, 25%);
// Color names for theme generation
$colorNames: (
$color-names: (
"primary",
"danger",
"warning",

View File

@ -1,4 +1,4 @@
@each $color in $colorNames {
@each $color in $color-names {
.alert-#{$color} {
color: RGB(var(--#{$color}-text));
background-color: var(--#{$color});

View File

@ -1,4 +1,4 @@
@each $color in $colorNames {
@each $color in $color-names {
.btn-#{$color} {
background-color: var(--#{$color});
border-color: var(--#{$color});

View File

@ -1,4 +1,4 @@
@each $color in $colorNames {
@each $color in $color-names {
.bg-#{$color} {
background-color: var(--#{$color}) !important;
}