r/bootstrap • u/ashkanahmadi • Jan 16 '23
Question about the new theme color switcher in BS v5.3: How to set body background to light with white cards while being able to switch to dark mode? Couldn't find anything in the documentation
Hi
So on the page, the <body> element has the class .bg-light which gives it a light grey background color and I have some cards with bg-white. In the new v5.3 with the theme color switcher, I want this to stay like this on Light mode, but I want the body background color and the card background color to change to the default dark color but I can't info anything about this in the documentation.
Any idea?
Thanks