Closed e-caste closed 2 years ago
Automatically adapt the colors defined in the CSS to light or dark mode based on the user's settings. No need for a toggle on the webpage.
These are the required stylesheets to make Bootstrap work with dark mode, please check if there's a new version since this code is ~1 year old.
And this is the working code I had developed to auto-detect and update light and dark mode (it also supports a change after load time).
Automatically adapt the colors defined in the CSS to light or dark mode based on the user's settings.
No need for a toggle on the webpage.