fastify / website-metalsmith

This project is used to build the website for fastify web framework and publish it online.
https://www.fastify.io
MIT License
73 stars 132 forks source link

Update `<meta name="theme-color" />` #362

Closed sanjaiyan-dev closed 2 years ago

sanjaiyan-dev commented 2 years ago

Updating <meta name="theme-color" /> for the docs. For more info https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta/name/theme-color

I choosed #202020 as a theme-color hence presents in Fastify website.

Sorry if I made any mistakes :(

netlify[bot] commented 2 years ago

Deploy Preview for fastify-website failed.

Name Link
Latest commit f3e699d8fe96837ce79a6052521dae00ec78827a
Latest deploy log https://app.netlify.com/sites/fastify-website/deploys/63000d7731f5550009ee1ead
Fdawgs commented 2 years ago

Only Safari fully supports using theme-color, and even then it appears that OS light/dark mode overwrites it. Not really worth the change.

We could drop this meta element altogether.

sanjaiyan-dev commented 2 years ago

Only Safari fully supports using theme-color, and even then it appears that OS light/dark mode overwrites it. Not really worth the change.

We could drop this meta element altogether.

@Fdawgs Actually chrome (mobile) also support this feature. https://caniuse.com/meta-theme-color