There are a lot of VUE frames that have skin changes, but they are all light and the main color is changed.
What if you want to change your entire style, including colors, borders, and even layout?
My idea is to add a class to the body, and each theme corresponds to a class name. Every time I switch the theme, I change the class of the body and rewrite the style under this class.
But it’s a hassle to write multiple styles, especially with the frameworks that everybody’s using these days, it’s too complicated to change styles in large areas, and I was thinking about simplifying the process of writing multiple styles. Finally got something, I don’t know if it’s the result you want, ha ha ha.
Source code address: github.com/oyai32/vueb…
(Don’t forget to click star if it’s useful!!)
Dark theme:Light theme: