We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Nuxt
v3.1.0
https://codesandbox.io/p/devbox/vigorous-cerf-pnrc3g
// app.config.ts export default defineAppConfig({ ui: { colors: { primary: 'emerald', neutral: 'zinc', red: 'red', orange: 'orange', yellow: 'yellow', green: 'green', blue: 'blue', purple: 'purple', gray: 'gray', }, } }
// nuxt.config.ts
ui: { theme: { colors: [ 'primary', 'secondary', 'success', 'info', 'warning', 'error', 'red', 'orange', 'yellow', 'green', 'blue', 'purple', 'gray' ], }, },
Yesterday everything was working fine, no code was changed, after the upgrade it broke. For example:
<div class="bg-(--ui-orange)">
Or
<div class="bg-orange">
Both not work
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Environment
Is this bug related to Nuxt or Vue?
Nuxt
Version
v3.1.0
Reproduction
https://codesandbox.io/p/devbox/vigorous-cerf-pnrc3g
// app.config.ts
export default defineAppConfig({
ui: {
colors: {
primary: 'emerald',
neutral: 'zinc',
red: 'red',
orange: 'orange',
yellow: 'yellow',
green: 'green',
blue: 'blue',
purple: 'purple',
gray: 'gray',
},
}
}
// nuxt.config.ts
ui: {
theme: {
colors: [ 'primary', 'secondary', 'success', 'info', 'warning', 'error', 'red', 'orange', 'yellow', 'green', 'blue', 'purple', 'gray' ],
},
},
Description
Yesterday everything was working fine, no code was changed, after the upgrade it broke.
For example:
Or
Both not work
Additional context
No response
Logs
The text was updated successfully, but these errors were encountered: