1
0
mirror of https://github.com/tabler/tabler.git synced 2025-12-22 09:54:24 +04:00

var color fix

This commit is contained in:
codecalm
2023-02-11 14:23:37 +01:00
parent e09fc524bf
commit c500c99e0d

View File

@@ -5,7 +5,7 @@
@each $name, $color in map-merge($theme-colors, $gray-colors) {
--#{$prefix}#{$name}-rgb: #{to-rgb($color)};
--#{$prefix}#{$name}: rgb(--#{$prefix}#{$name}-rgb);
--#{$prefix}#{$name}: rgb(var(--#{$prefix}#{$name}-rgb));
--#{$prefix}#{$name}-fg: #{if(contrast-ratio($color) > $min-contrast-ratio, var(--#{$prefix}light), var(--#{$prefix}dark))};
--#{$prefix}#{$name}-darken: #{theme-color-darker($color)};
--#{$prefix}#{$name}-lt-rgb: #{to-rgb(theme-color-lighter($color))};