Loading...
Loading...
Complete guide for Colorffy UI and CSS frameworks. Colorffy UI is a modern Vue 3 / Nuxt 3 component library with 70+ unstyled, headless components (buttons, cards, forms, dialogs, navigation, etc.) with TypeScript support. Colorffy CSS is an expressive SCSS framework with tonal color system, utility classes, and layout systems (grid, flexbox). Use when working with Colorffy packages, setting up Vue/Nuxt projects with Colorffy, choosing components, applying styles, using utility classes, implementing layouts, or integrating Colorffy UI with Colorffy CSS or custom styles.
npx skill4agent add giancarlosgza/colorffy-workspace colorffy| Category | Guide | Description |
|---|---|---|
| Getting Started | Installation & Setup | Install packages, configure Vue 3/Nuxt 3 |
| Component Selection Guide | Choose the right components for your needs | |
| Styling Guide | Colorffy CSS integration, custom styling approaches | |
| Theming | Theming System | Customize colors, typography, spacing, dark mode |
| Reference | Components API | Full reference for 70+ components |
| CSS Utilities | Complete utility class reference | |
| Layout Systems | Grid and Flexbox layout utilities | |
| Patterns | Best Practices | Common patterns, workflows, tips |
npm install @colorffy/ui @colorffy/css
npm install @vueuse/components floating-vue// main.ts
import { createApp } from 'vue'
import ColorffyUI from '@colorffy/ui'
import '@colorffy/css'
const app = createApp(App)
app.use(ColorffyUI)
app.mount('#app')// nuxt.config.ts
export default defineNuxtConfig({
css: ['@colorffy/css']
})
// plugins/colorffy-ui.ts
export default defineNuxtPlugin((nuxtApp) => {
nuxtApp.vueApp.use(ColorffyUI)
})<script setup lang="ts">
import { ref } from 'vue'
import { UiButton, UiCard, UiInputText, UiModal } from '@colorffy/ui'
const isOpen = ref(false)
const name = ref('')
</script>
<template>
<!-- Components with Colorffy CSS styling -->
<UiCard class="shadow-lg rounded-lg">
<template #body>
<h2 class="text-primary fw-bold mb-3">Welcome</h2>
<UiInputText
v-model="name"
label="Name"
placeholder="Enter your name"
class="mb-3"
/>
<UiButton
variant="filled"
color="primary"
text="Open Modal"
@click="isOpen = true"
/>
</template>
</UiCard>
<UiModal v-model="isOpen" title="Hello">
<template #body>
<p>Hello, {{ name }}!</p>
</template>
</UiModal>
</template>m-*p-*gap-*text-*bg-*border-*fs-*fw-*text-{align}d-flexd-gridjustify-content-*align-items-*borderrounded-{size}shadow-*opacity-*filter-*