import { fileURLToPath } from 'node:url' import { dirname, join } from 'node:path' const dir = dirname(fileURLToPath(import.meta.url)) export default defineNuxtConfig({ modules: ['@nuxtjs/tailwindcss','@nuxt/icon'], css: [join(dir, 'app/assets/css/malio.css')], components: [ { path: join(dir, 'app/components/malio'), prefix: 'Malio', pathPrefix: false, }, ], tailwindcss: { config: { theme: { extend: { borderRadius: { malio: 'var(--m-radius)', }, colors: { m: { primary: 'rgb(var(--m-primary) / )', secondary: 'rgb(var(--m-secondary) / )', tertiary: 'rgb(var(--m-tertiary) / )', border: 'rgb(var(--m-border) / )', text: 'rgb(var(--m-text) / )', muted: 'rgb(var(--m-muted) / )', bg: 'rgb(var(--m-bg) / )', error: 'rgb(var(--m-error) / )', success: 'rgb(var(--m-success) / )', } } } } } } })