How can I let know to browsers that I have dark (night) theme and light one?

lazzzko

Newbie
Joined
Mar 23, 2017
Messages
10
Reaction score
4
How can I let know to browsers that I have dark (night) theme and light one?



One popular website from my niche has 2 versions - light and dark https://prnt.sc/17tlby3 and I would like to take this idea and improve it with my websites.



At the moment, many phones have begun to offer users the version of the application that they use on their phone - dark or light.



I suppose that soon Google will also show that the site has a dark version. Moreover, Google started offering a dark version in anonymity mode.



Does anyone know if there is a way to let the search engines or a browser know about the presence of a dark version of the site and a light one?
 
This might help - https://dev.to/vasanthv/use-css-to-automatically-enable-dark-mode-in-your-web-app-based-on-system-settings-2jlp
It automatically changes to dark mode based on the user's settings.
Thanks
 
Back
Top