mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 20:19:34 +01:00
* wip: improve types * feat: improve types * Apply suggestions from code review Co-authored-by: Sylvain Marroufin <marroufin.sylvain@gmail.com> * chore: update * chore: enable ci typecheck * chore: fix Co-authored-by: Sylvain Marroufin <marroufin.sylvain@gmail.com>
30 lines
527 B
TypeScript
30 lines
527 B
TypeScript
import defaultTheme from 'tailwindcss/defaultTheme'
|
|
import nuxtUI from '../src/module'
|
|
|
|
// https://v3.nuxtjs.org/docs/directory-structure/nuxt.config
|
|
export default defineNuxtConfig({
|
|
modules: [
|
|
nuxtUI
|
|
],
|
|
components: {
|
|
global: true
|
|
},
|
|
ui: {
|
|
colors: {
|
|
primary: 'blue',
|
|
gray: 'zinc'
|
|
},
|
|
preset: {
|
|
},
|
|
tailwindcss: {
|
|
theme: {
|
|
extend: {
|
|
fontFamily: {
|
|
sans: ['Inter var', ...defaultTheme.fontFamily.sans]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
})
|