mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 20:19:34 +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 = {
|
||||
colors?: {
|
||||
primary?: typeof colors[number]
|
||||
primary?: Exclude<typeof colors[number], 'error'>
|
||||
error?: Exclude<typeof colors[number], 'primary'>
|
||||
gray?: 'slate' | 'cool' | 'zinc' | 'neutral' | 'stone'
|
||||
}
|
||||
icons?: Partial<typeof icons>
|
||||
|
||||
Reference in New Issue
Block a user