Re: [csswg-drafts] [css-forms-1] Rework default styles for slider-like controls (#12267)

What about a fill like below?

That's essentially a style of:

```css
input[type="checkbox"][switch]::slider-fill {
    background-color: color-mix(in lab, currentColor 25%, transparent);
}

input[type="checkbox"][switch]:checked::slider-fill {
   block-size: 100%;
}
```

<img width="497" height="139" alt="Image" src="https://github.com/user-attachments/assets/60bb7a86-1811-4c07-ae5e-360c1b9431a3" />

-- 
GitHub Notification of comment by lukewarlow
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12267#issuecomment-3759189695 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 16 January 2026 10:05:20 UTC