Re: [w3ctag/design-reviews] Dark mode support for web apps (Issue #696)

It's possible using [CSS media queries](https://drafts.csswg.org/mediaqueries-5/#mf-user-preferences) (specifically the [prefers-color-scheme](https://drafts.csswg.org/mediaqueries-5/#prefers-color-scheme) feature).

This is very similar to the existing theme_color and background_color manifest fields which can also be defined in CSS. The manifest values are used before the stylesheet as loaded.

Depending on the CSS parser was suggested in the [original thread](https://github.com/w3c/manifest/issues/975) for this, however it was decided that should be avoided due to the complexity.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3ctag/design-reviews/issues/696#issuecomment-1039592043
You are receiving this because you are subscribed to this thread.

Message ID: <w3ctag/design-reviews/issues/696/1039592043@github.com>

Received on Monday, 14 February 2022 21:38:40 UTC