Dark/Light mode toggle settings on websites and app are tredning and there is a some system default theme mode also available like chrome dev-tools provide force dark-mode, but I want my website to be view in the way it has been built. So, How do I prevent the force dark-mode, applied by chrome?
I have tried prefers-color-scheme
media query, but I guess, I'm doing something wrong or missing something.
@media (prefers-color-scheme: dark) {
body {
background: #fff;
}
}