Files
ui/docs/nuxt.config.ts
Anthony Fu edc1bd677b chore: improve types (#115)
* 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>
2022-11-23 11:30:18 +01:00

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]
}
}
}
}
}
})