I’m using Foundation theme with a dark palette that I have customized heavily with css.
I am wondering what would be the easiest method for making a light version that follows all the same CSS rules.
I’m using Foundation theme with a dark palette that I have customized heavily with css.
I am wondering what would be the easiest method for making a light version that follows all the same CSS rules.
You can add a light color palette to your theme
You can update colors based on whether the light or dark theme is used:
Okay so I need to adjust every single change with the dark or light (i am using default dark/light)
It depends. You only need to do that if you used hardcoded colors. As long as you refer to colors like var(--primary-300) or var(--danger), they change automatically based on the color palette.