1
0
mirror of https://github.com/tabler/tabler.git synced 2025-12-22 01:44:25 +04:00

Merge pull request #845 from migolo/patch-1

Update _colors.scss
This commit is contained in:
Michał Wolny
2021-05-03 21:41:18 +02:00
committed by GitHub

View File

@@ -4,12 +4,12 @@
SOCIAL COLORS SOCIAL COLORS
*/ */
@each $color, $value in $social-colors { @each $color, $value in $social-colors {
.bg-#{$color} { .bg-#{"" + $color} {
color: #fff !important; color: #fff !important;
background: $value !important; background: $value !important;
} }
.text-#{$color} { .text-#{"" + $color} {
color: $value !important; color: $value !important;
} }
} }
@@ -17,15 +17,15 @@ SOCIAL COLORS
@if $enable-extra-colors { @if $enable-extra-colors {
@each $color, $value in map-merge($colors, (dark: $dark, muted: $text-muted, white: $white)) { @each $color, $value in map-merge($colors, (dark: $dark, muted: $text-muted, white: $white)) {
.bg-#{$color} { .bg-#{"" + $color} {
background: $value; background: $value;
} }
.text-#{$color} { .text-#{"" + $color} {
color: $value !important; color: $value !important;
} }
.bg-#{$color}-lt { .bg-#{"" + $color}-lt {
color: $value !important; color: $value !important;
background: theme-color-lighter($value, true) !important; background: theme-color-lighter($value, true) !important;
} }