@vuecs/theme-bulma
v5.0.0
Published
Bulma theme for vuecs components. Targets Bulma 1.0+ (CSS-variable-based theming); the version number tracks vuecs theme breaking changes, not Bulma's.
Readme
@vuecs/theme-bulma
The Bulma 1.0+ theme for vuecs. Native Bulma classes (button is-primary, input, dropdown-content, …) for every vuecs component — vuecs in a Bulma app, with no Tailwind anywhere in the stack.
✨ What's inside
- 🟢 Full component coverage — Bulma class mappings + variant matrices for every vuecs component family, with gap-fill CSS for patterns Bulma core doesn't ship (stepper, switch, card bands, sort indicators).
- 🌉 Design-token bridge — optional CSS (
@import "@vuecs/theme-bulma") wiring Bulma's--bulma-*variables onto--vc-color-*, so vuecs and Bulma-native components share one source of color truth. - 🎛️ Palette renderer — declares a
palette.handlehook against the shared 22-palette catalog:useColorPalette().set(...)re-tints Bulma's per-variant colors live (a precomputed HSL table works around Bulma's channel-based theming). - 🌗 Dark mode wired in — a
colorMode.handlehook mirrors vuecs's resolved mode onto Bulma'sdata-themeattribute (SSR-safe via@vuecs/nuxt). - 🚫 Tailwind-free — pair with
@vuecs/design/standalonefor the palette catalog as plain CSS variables.
📦 Installation
npm install @vuecs/theme-bulma bulma⚡ Usage
/* main.css */
@import "bulma/css/bulma.css";
@import "@vuecs/design/standalone";
@import "@vuecs/theme-bulma";import vuecs from '@vuecs/core';
import bulma from '@vuecs/theme-bulma';
app.use(vuecs, { themes: [bulma()] });📚 Documentation
Full reference (including Bulma-specific mapping decisions): vuecs.dev/themes/bulma
License
Made with 💚
Published under Apache 2.0 License.
