fix(types): allow color identifiers with dashes (#3896)

This commit is contained in:
Neil Richter
2025-04-15 10:58:14 +02:00
committed by GitHub
parent 113e2e7166
commit e5a1e26f9d

View File

@@ -114,7 +114,7 @@ type Color = Exclude<keyof typeof colors, 'inherit' | 'current' | 'transparent'
type AppConfigUI = {
colors?: {
${options.theme?.colors?.map(color => `${color}?: Color`).join('\n\t\t')}
${options.theme?.colors?.map(color => `'${color}'?: Color`).join('\n\t\t')}
neutral?: NeutralColor
}
icons?: Partial<typeof icons>