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

Re: [csswg-drafts] [css-color-adjust-1][mediaqueries-5] Fold `forced-colors` and `prefers-contrast`? (#3856)

From: Alison Maher via GitHub <sysbot+gh@w3.org>
Date: Wed, 15 Jul 2020 01:27:30 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-658492742-1594776449-sysbot+gh@w3.org>
@fantasai Is there any reason we shouldn't map to `high` or `low` in forced colors mode depending on the contrast level between the foreground and background colors rather than adding a new `forced` value? This would be similar to how we determine if we should map `prefers-color-scheme` to `light` or `dark` depending on the luminance of `Canvas`: https://drafts.csswg.org/css-color-adjust-1/#forced.

GitHub Notification of comment by alisonmaher
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3856#issuecomment-658492742 using your GitHub account
Received on Wednesday, 15 July 2020 01:27:32 UTC

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