W3C home > Mailing lists > Public > public-css-archive@w3.org > July 2020

Re: [csswg-drafts] Allow specifying the "accent color" of a form control element (#5187)

From: Greg Whitworth via GitHub <sysbot+gh@w3.org>
Date: Wed, 01 Jul 2020 23:03:39 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-652687367-1593644618-sysbot+gh@w3.org>
@othermaciej ahhh my bad - completely mis-read the issue :/  I'll avoid the fingerprinting discussion given this is about a different proposal altogether.

> There are also colored pieces of form controls that do not normally follow the OS accent color. We probably want to avoid including those. Rationale: since accent color is likely to be desirable set across a whole site, that is the common use of similar functionality in apps. So it would be tempting to set it as a rule on *, but we wouldn't want unexpected parts of a form control to recolor.

LOL, I was just writing something similar. I agree that we should scope this in if it's solely focusing on form controls. Also, regarding the stepper buttons on `number` I think it's fine to still allow them on any replaced form control as in the future a UA may use the `accent-color` on the steppers or some other part that isn't currently exposed. Outside of that, if this is a common enough pain point now to add this to the platform then I am fine with this proposal as long as we scope and name it accordingly. How about `form-control-accent-color`?

GitHub Notification of comment by gregwhitworth
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5187#issuecomment-652687367 using your GitHub account
Received on Wednesday, 1 July 2020 23:03:41 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:11 UTC