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

Re: [csswg-drafts] [css-pseudo][MQ][css-env] Seasonal Theming (#4627)

From: Florian Rivoal via GitHub <sysbot+gh@w3.org>
Date: Tue, 02 Jun 2020 02:46:10 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-637236617-1591065969-sysbot+gh@w3.org>
Even if it isn't major, seasonal theming, in general, doesn't seem crazy. Building all sorts of events into browsers isn't viable though: being exhaustive in impossible, covering some countries and not others is unfair, and including some events that are celebrated in some countries might be a very good way to get banned from some other countries. So I think the the following is the way forward:
- ability to access the date
- ability to make up your own MQ based on the date

The first one already exists in JS.
A rough sketch of the second one is proposed in MQ5 https://drafts.csswg.org/mediaqueries-5/#script-custom-mq.

I encourage people who want this sort of things to contribute proposals to make https://drafts.csswg.org/mediaqueries-5/#script-custom-mq more than a rough sketch.

GitHub Notification of comment by frivoal
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4627#issuecomment-637236617 using your GitHub account
Received on Tuesday, 2 June 2020 02:46:12 UTC

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