Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Type issue with colors/variant in app.config.ts #2241

Open
ThibaultVlacich opened this issue Sep 23, 2024 · 0 comments
Open

Type issue with colors/variant in app.config.ts #2241

ThibaultVlacich opened this issue Sep 23, 2024 · 0 comments
Labels
bug Something isn't working triage

Comments

@ThibaultVlacich
Copy link
Contributor

ThibaultVlacich commented Sep 23, 2024

Environment


  • Operating System: Linux
  • Node Version: v18.20.3
  • Nuxt Version: 3.13.2
  • CLI Version: 3.13.2
  • Nitro Version: 2.9.7
  • Package Manager: [email protected]
  • Builder: -
  • User Config: modules, typescript
  • Runtime Modules: @nuxt/[email protected]
  • Build Modules: -

Version

2.18.6

Reproduction

https://stackblitz.com/edit/nuxt-ui-itcrga?file=app.config.ts

Type '"white"' is not assignable to type '"primary"'. ts(2322)

Description

primary is the only possible value for colours in the default config of a lot of components. Issue appeared with 2.18.x
Also noticed a similar issue on other configs, like variant for buttons

Additional context

No response

Logs

No response

@ThibaultVlacich ThibaultVlacich added bug Something isn't working triage labels Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage
Projects
None yet
Development

No branches or pull requests

1 participant