diff --git a/.changeset/add-text-gray-utilities.md b/.changeset/add-text-gray-utilities.md new file mode 100644 index 000000000..a24897f98 --- /dev/null +++ b/.changeset/add-text-gray-utilities.md @@ -0,0 +1,5 @@ +--- +"@tabler/core": minor +--- + +Added `.text-gray-*` utility classes (`.text-gray-50` through `.text-gray-950`) alongside the existing `.bg-gray-*` and `.text-gray-*-fg` utilities. diff --git a/core/scss/utils/_colors.scss b/core/scss/utils/_colors.scss index 6af0a762a..3c3cd30d2 100644 --- a/core/scss/utils/_colors.scss +++ b/core/scss/utils/_colors.scss @@ -78,6 +78,10 @@ .text-#{'' + $color}-fg { color: var(--#{$prefix}#{$color}-fg) !important; } + + .text-#{'' + $color} { + color: var(--#{$prefix}#{$color}) !important; + } } @each $color, $value in $social-colors {