chore(templates): add FIXME for colors type

Related to #59
This commit is contained in:
Benjamin Canac
2024-03-20 17:09:35 +01:00
parent a7cc288513
commit 5b789a5397

View File

@@ -70,6 +70,7 @@ export default function createTemplates (options: ModuleOptions, nuxt: Nuxt) {
getContents: () => Object.keys(theme).map(component => `export { default as ${component} } from './${component}'`).join('\n')
})
// FIXME: `typeof colors[number]` should include all colors from the theme
addTypeTemplate({
filename: 'types/ui.d.ts',
getContents: () => `import * as ui from '#build/ui'