Themeable
Layered theme resolution with structured variants, compound variants, and runtime overrides.
Vue 3 theming framework with shipped components. Design tokens, runtime palette + color-mode switching, SSR-safe Nuxt integration — plus an opt-in path for third-party libraries to compose their own components on the same theme system.
Primary palette
Neutral palette
Click swatches to recolor every component on the page in real time — powered by setColorPalette().
Layered theme resolution with structured variants, compound variants, and runtime overrides.
22 Tailwind palettes, 6 semantic scales. Switch palette at runtime — no rebuild.
Tokens flip automatically under .dark — every component follows.
SSR-safe color mode and palette via @vuecs/nuxt — zero FOUC on first paint.
Drop-in themes for Tailwind v4, Bootstrap v5, Bootstrap v4, Font Awesome.
Augmentable theme & defaults interfaces — autocomplete for component names and slot keys.
vuecs ships drop-in themes for Tailwind v4 and Bootstrap. Add icons through Iconify via @vuecs/icons-lucide, @vuecs/icons-font-awesome, or any other preset.
Native pairing for @vuecs/design — utility-first, JIT-compiled, dark-mode aware.
Drop-in Bootstrap 5 classes with optional design-token bridge for runtime palette switching.
Three steps. Tailwind v4 + design tokens come pre-wired.
npm install @vuecs/core @vuecs/theme-tailwind @vuecs/design@vuecs/nuxt
SSR-safe palette and color-mode plumbing — server-rendered classes match the client on first paint, no flash, no hydration mismatch.
// nuxt.config.ts
export default defineNuxtConfig({
modules: ['@vuecs/nuxt'],
vuecs: {
themes: ['@vuecs/theme-tailwind'],
colorMode: { value: 'system' },
colorPalette: { value: { primary: 'green', neutral: 'zinc' } },
},
});