Tag

This article introduces a dynamic theme architecture based on Nuxt + TailwindCSS. This theme system achieves seamless switching between light/dark modes, theme transitions, and static styles through Pinia states, CSS variables, Tailwind semantic colors, and Cookie/localStorage synchronization, providing developers with a controllable and easily extensible theme system.