« * K @g12n.de

Michael G @g12n.de

2026-11-01 08:18 UTC

Oh yeah. That one: accent-color can’t be accessed as a color keyword similar to currentColor. So I had to workaround with a css custom property, on customElements and styling. When better styling for inputs hits the stage, this might be useful. Not a biggie but inconsistent. bsky.app/profile/mark...

Quoting @markodenic.com: CSS tip: recolor every checkbox, radio and range slider with one line. :root { accent-color: #EA580C; } No custom markup, no hidden inputs. The browser even picks a readable checkmark color for you.

A reply in a thread.

2 likes, 0 reposts, 0 replies

3 Next post4 More from @g12n.deBackBluesky home
☆ Save to home · 0 Home · Find · Games · Chat · AI · Setup