- From: Brunojoe1995 <notifications@github.com>
- Date: Sat, 15 Feb 2025 16:15:44 -0800
- To: w3c/manifest <manifest@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <w3c/manifest/issues/975/2661158493@github.com>
Bruno-bot-stack left a comment (w3c/manifest#975)
> Currently, in a web manifest file, you can define a theme color. https://www.w3.org/TR/appmanifest/#theme_color-member For example:
>
**### `//To:Do : Don't use #META-TAGS "<m.tags>"`**
> {
> "lang": "en",
> "short_name": "Resilience",
> "name": "Resilient Web Design by Jeremy Keith",
> "description": "A web book in seven chapters on the past, present, and future of web design. By Jeremy Keith.",
> "background_color": "#5f7995",
> "theme_color": "#5f7995"
> }
> ```
>
> There's not currently any way to express that a certain theme color should be used for light mode, while another is used for dark mode.
>
> In HTML, there's currently a proposal to add support for color schemes by adding a media attribute to the meta tag: [whatwg/html#6495](https://github.com/whatwg/html/issues/6495)
>
> ```
> <meta name="theme-color" media="(prefers-color-scheme: light)" content="red">
> <meta name="theme-color" media="(prefers-color-scheme: dark)" content="darkred">
> ```
>
> It would be great to be able to do a similar thing in the web manifest file.
--
Reply to this email directly or view it on GitHub:
https://github.com/w3c/manifest/issues/975#issuecomment-2661158493
You are receiving this because you are subscribed to this thread.
Message ID: <w3c/manifest/issues/975/2661158493@github.com>
Received on Sunday, 16 February 2025 00:15:47 UTC