Fix --tblr-gray-*-fg tokens resolving to white (#2624)

This commit is contained in:
Bartosz-Do
2026-07-30 02:36:55 +02:00
committed by GitHub
parent 1ed2889cf1
commit bc24b3ada8
2 changed files with 6 additions and 1 deletions
+1 -1
View File
@@ -45,7 +45,7 @@
/** Gray colors */
@each $name, $color in $gray-colors {
--#{$prefix}#{$name}-fg: #{if(sass(contrast-ratio($color, white) > $min-contrast-ratio): var(--#{$prefix}white); else: var(--#{$prefix}body-color))};
--#{$prefix}#{$name}-fg: var(--#{$prefix}#{$name});
}
/** Spacers */