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

Closed
ThibaultVlacich opened this issue Sep 23, 2024 · 1 comment
Closed

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

ThibaultVlacich opened this issue Sep 23, 2024 · 1 comment
Labels
bug Something isn't working duplicate This issue or pull request already exists

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
Copy link
Member

Duplicate #2221.

@benjamincanac benjamincanac added duplicate This issue or pull request already exists and removed triage labels Oct 6, 2024 — with Volta.net
@benjamincanac benjamincanac closed this as not planned Won't fix, can't repro, duplicate, stale Oct 6, 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 duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants