- From: Oliver Williams via GitHub <sysbot+gh@w3.org>
- Date: Fri, 04 Aug 2023 07:36:44 +0000
- To: public-css-archive@w3.org
This is a great idea. Most frontend developers are familiar with the `accent-color` property but on professional websites its more common to use `appearance: none` and customise the control, which limits the usefulness of `accent-color`. There are hundreds of component libraries out there. Currently they all use differently named custom properties. Imagine knowing how to style form controls without needing to look in the docs. Some websites use both native form controls and some custom form controls. With this property you could be confident you were styling all of them with a single line of CSS. I've built custom checkboxes/radios/etc plenty of times in various JavaScript frameworks over the years. Having a consistent way to style them is definitely worthwhile. -- GitHub Notification of comment by o-t-w Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5900#issuecomment-1665147302 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 4 August 2023 07:36:46 UTC