mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-02-01 12:47:57 +01:00
fix(templates): add error in AppConfig type
This commit is contained in:
@@ -96,7 +96,8 @@ const icons = ${JSON.stringify(nuxt.options.appConfig.ui.icons)};
|
|||||||
|
|
||||||
type AppConfigUI = {
|
type AppConfigUI = {
|
||||||
colors?: {
|
colors?: {
|
||||||
primary?: typeof colors[number]
|
primary?: Exclude<typeof colors[number], 'error'>
|
||||||
|
error?: Exclude<typeof colors[number], 'primary'>
|
||||||
gray?: 'slate' | 'cool' | 'zinc' | 'neutral' | 'stone'
|
gray?: 'slate' | 'cool' | 'zinc' | 'neutral' | 'stone'
|
||||||
}
|
}
|
||||||
icons?: Partial<typeof icons>
|
icons?: Partial<typeof icons>
|
||||||
|
|||||||
Reference in New Issue
Block a user