diff --git a/.changeset/fix-inactive-steps-counter-contrast.md b/.changeset/fix-inactive-steps-counter-contrast.md new file mode 100644 index 000000000..d80a1a7cd --- /dev/null +++ b/.changeset/fix-inactive-steps-counter-contrast.md @@ -0,0 +1,5 @@ +--- +"@tabler/core": patch +--- + +Fixed unreadable counter digit on not-yet-reached steps by giving `.step-item` `::before` the `--tblr-disabled-color`. diff --git a/core/scss/ui/_steps.scss b/core/scss/ui/_steps.scss index 9878c939e..37426d523 100644 --- a/core/scss/ui/_steps.scss +++ b/core/scss/ui/_steps.scss @@ -105,6 +105,10 @@ &::before { background: var(--steps-inactive-color); } + + &::before { + color: var(--disabled-color); + } } } }