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

[csswg-drafts] [mediaqueries] Status of Script-based Custom Media Queries (#5085)

From: Devyn Cyphers via GitHub <sysbot+gh@w3.org>
Date: Tue, 19 May 2020 00:29:04 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-620587292-1589848143-sysbot+gh@w3.org>
Devcon4 has just created a new issue for https://github.com/w3c/csswg-drafts:

== [mediaqueries] Status of Script-based Custom Media Queries ==
[Section 4.1](https://drafts.csswg.org/mediaqueries-5/#script-custom-mq) of the media queries spec mentions adding the ability to set custom media queries from Javascript but is lacking in detail. It only contains [Issue 6](https://drafts.csswg.org/mediaqueries-5/#issue-bab99524).

What is the status of 4.1 is it still being considered? I think this adds a lot more flexibility to media queries. The use case I am interested in is to override prefers-color-scheme with a toggle or allow selecting from several color themes. There are workaround for my use case but I feel this would be a more elegant way of dealing with that problem.


Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5085 using your GitHub account
Received on Tuesday, 19 May 2020 00:29:06 UTC

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