docs: update

This commit is contained in:
Benjamin Canac
2021-11-30 16:29:20 +01:00
parent 46367baa7c
commit 511ed7a2b1
2 changed files with 30 additions and 1 deletions

View File

@@ -12,7 +12,15 @@ export default defineNuxtConfig({
},
bodyAttrs: {
class: 'u-bg-gray-50 u-text-gray-700'
}
},
link: [
{ rel: 'preconnect', href: 'https://fonts.googleapis.com' },
{ rel: 'preconnect', href: 'https://fonts.gstatic.com', crossorigin: '' },
{
rel: 'stylesheet',
href: 'https://fonts.googleapis.com/css2?family=Inter&family=Fira+Code&display=swap'
}
]
},
buildModules: [
'../src'
@@ -20,6 +28,14 @@ export default defineNuxtConfig({
ui: {
colors: {
primary: 'blue'
},
unocss: {
theme: {
fontFamily: {
sans: '\'Inter\', sans-serif',
mono: '\'Fira Code\', monospace'
}
}
}
}
})

View File

@@ -107,8 +107,21 @@ const defaultProps = {
Icon: {
name: 'heroicons-outline:bell'
},
Input: {
name: 'input'
},
Checkbox: {
name: 'checkbox'
},
Radio: {
name: 'radio'
},
Select: {
name: 'select',
options: ['English', 'Spanish', 'French', 'German', 'Chinese']
},
Textarea: {
name: 'textarea'
}
}