tabler icon indicating copy to clipboard operation
tabler copied to clipboard

[BUG] Checkbox `:indeterminate` CSS color

Open cavasinf opened this issue 3 years ago • 1 comments

Describe the bug

Checkbox CSS of :indeterminate state is not linked to the CSS tabler vars. https://github.com/tabler/tabler/blob/e84ab993119879d26a9b9c30095e8a0a2bab8abd/dist/css/tabler.css#L2870-L2874

It should be like :checked behavior https://github.com/tabler/tabler/blob/e84ab993119879d26a9b9c30095e8a0a2bab8abd/dist/css/tabler.css#L2860-L2863

To reproduce

Steps to reproduce the behavior:

  1. Override --tblr-primary color
  2. Add checkboxe
  3. Set indeterminate to true
  4. See wrong color

Screenshots image

cavasinf avatar Apr 19 '23 08:04 cavasinf

@Saran-pariyar we should add to config:

$form-check-input-indeterminate-bg-color: var(--#{$prefix}primary) !default;

codecalm avatar Apr 24 '23 18:04 codecalm