Skip to content
This repository has been archived by the owner on Sep 6, 2024. It is now read-only.

Commit

Permalink
chore(templates): add FIXME for colors type
Browse files Browse the repository at this point in the history
Related to #59
  • Loading branch information
benjamincanac committed Mar 20, 2024
1 parent a7cc288 commit 5b789a5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/templates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 5b789a5

Please sign in to comment.