Adjust casing of $colorNames variable
This commit is contained in:
parent
c4c0c44eec
commit
e8bbf2c2f1
|
@ -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",
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
@each $color in $colorNames {
|
||||
@each $color in $color-names {
|
||||
.alert-#{$color} {
|
||||
color: RGB(var(--#{$color}-text));
|
||||
background-color: var(--#{$color});
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
@each $color in $colorNames {
|
||||
@each $color in $color-names {
|
||||
.btn-#{$color} {
|
||||
background-color: var(--#{$color});
|
||||
border-color: var(--#{$color});
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
@each $color in $colorNames {
|
||||
@each $color in $color-names {
|
||||
.bg-#{$color} {
|
||||
background-color: var(--#{$color}) !important;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue