Fix colors of disabled tom-select (#2084)
Some checks are pending
Bundlewatch / bundlewatch (push) Waiting to run

This commit is contained in:
BG-Software
2025-01-27 22:34:05 +01:00
committed by GitHub
parent a5bf5d3e2d
commit 90cc74487b
2 changed files with 20 additions and 4 deletions

View File

@@ -0,0 +1,5 @@
---
"@tabler/core": patch
---
Fix colors of disabled `.ts-control`

View File

@@ -60,8 +60,19 @@ $input-border-width: 1px;
}
}
.ts-wrapper.multi .ts-control > div {
background: var(--#{$prefix}bg-surface-secondary);
border: 1px solid var(--#{$prefix}border-color);
color: var(--#{$prefix}body-color);
.ts-wrapper.multi,
.ts-wrapper.multi.disabled {
.ts-control > div {
background: var(--#{$prefix}bg-surface-secondary);
border: 1px solid var(--#{$prefix}border-color);
color: var(--#{$prefix}body-color);
}
}
.ts-wrapper.disabled .ts-control {
opacity: 1;
&> div.item {
color: var(--#{$prefix}gray-500);
}
}