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

barisyasar left a comment (w3c/manifest#975)

   const metaTag = document.querySelector('meta[name="theme-color"]');
    if (metaTag) {
      metaTag.setAttribute('content', theme === 'dark' ? '#030711' : 'white');
    }

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

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

Received on Thursday, 20 March 2025 14:37:35 UTC