mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-02-04 06:07:56 +01:00
docs: update
This commit is contained in:
@@ -12,7 +12,15 @@ export default defineNuxtConfig({
|
|||||||
},
|
},
|
||||||
bodyAttrs: {
|
bodyAttrs: {
|
||||||
class: 'u-bg-gray-50 u-text-gray-700'
|
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: [
|
buildModules: [
|
||||||
'../src'
|
'../src'
|
||||||
@@ -20,6 +28,14 @@ export default defineNuxtConfig({
|
|||||||
ui: {
|
ui: {
|
||||||
colors: {
|
colors: {
|
||||||
primary: 'blue'
|
primary: 'blue'
|
||||||
|
},
|
||||||
|
unocss: {
|
||||||
|
theme: {
|
||||||
|
fontFamily: {
|
||||||
|
sans: '\'Inter\', sans-serif',
|
||||||
|
mono: '\'Fira Code\', monospace'
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -107,8 +107,21 @@ const defaultProps = {
|
|||||||
Icon: {
|
Icon: {
|
||||||
name: 'heroicons-outline:bell'
|
name: 'heroicons-outline:bell'
|
||||||
},
|
},
|
||||||
|
Input: {
|
||||||
|
name: 'input'
|
||||||
|
},
|
||||||
|
Checkbox: {
|
||||||
|
name: 'checkbox'
|
||||||
|
},
|
||||||
|
Radio: {
|
||||||
|
name: 'radio'
|
||||||
|
},
|
||||||
Select: {
|
Select: {
|
||||||
|
name: 'select',
|
||||||
options: ['English', 'Spanish', 'French', 'German', 'Chinese']
|
options: ['English', 'Spanish', 'French', 'German', 'Chinese']
|
||||||
|
},
|
||||||
|
Textarea: {
|
||||||
|
name: 'textarea'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user