Re: [w3c/manifest] Add support for defining a theme color for both light & dark modes (prefers color scheme) (#975)

> Can you support css vars in the manifest? We already set our vars according to the dark/light preference and a use app overriding setting/preference


Adding custom property support in the manifest would likely introduce a significant amount of complexity from a parsing standpoint and from a rendering standpoint. Where would the custom props be defined? What happens if those definitions aren't loaded (e.g., stylesheet fails to load or JavaScript fails to execute)? There's also the question of the scope for these properties in terms of where they are defined and how they apply since they aren't contextual to a specific DOM node.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/manifest/issues/975#issuecomment-1094076863
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/manifest/issues/975/1094076863@github.com>

Received on Saturday, 9 April 2022 16:13:32 UTC