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

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.

Thanks!

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