Theme Switcher Component

Alright, after reworking my Alien Night Theme, I realized that this component does not make much sense anymore.

The Dark/Light Toggle component is exactly doing what I tried to do with this component here. But much better.
In the long run, my approach to work with tons of classes and juggle them around, is not maintainable.
Instead this component below is just taking your 2 Color Palettes schemes and flip the proper css variables:

It’s currently, apparently broken (it works in my Alien Night Theme though), but in the future please use it instead.

I set my component here to Legacy/Deprecated for now.

1 Like