Skip to content

Commit

Permalink
Merge pull request #845 from migolo/patch-1
Browse files Browse the repository at this point in the history
Update _colors.scss
  • Loading branch information
FreexD committed May 3, 2021
2 parents 327bab2 + b237f78 commit 5928bd2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/scss/utils/_colors.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,28 +4,28 @@
SOCIAL COLORS
*/
@each $color, $value in $social-colors {
.bg-#{$color} {
.bg-#{"" + $color} {
color: #fff !important;
background: $value !important;
}

.text-#{$color} {
.text-#{"" + $color} {
color: $value !important;
}
}


@if $enable-extra-colors {
@each $color, $value in map-merge($colors, (dark: $dark, muted: $text-muted, white: $white)) {
.bg-#{$color} {
.bg-#{"" + $color} {
background: $value;
}

.text-#{$color} {
.text-#{"" + $color} {
color: $value !important;
}

.bg-#{$color}-lt {
.bg-#{"" + $color}-lt {
color: $value !important;
background: theme-color-lighter($value, true) !important;
}
Expand Down

0 comments on commit 5928bd2

Please sign in to comment.