Skip to content

Extend colors not work after update to v3.1 #3977

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

Open
icarusion opened this issue Apr 25, 2025 · 0 comments
Open

Extend colors not work after update to v3.1 #3977

icarusion opened this issue Apr 25, 2025 · 0 comments
Labels
bug Something isn't working triage v3 #1289

Comments

@icarusion
Copy link

icarusion commented Apr 25, 2025

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:

<div class="bg-(--ui-orange)">

Or

<div class="bg-orange">

Both not work

Additional context

No response

Logs

@icarusion icarusion added bug Something isn't working triage v3 #1289 labels Apr 25, 2025
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 v3 #1289
Projects
None yet
Development

No branches or pull requests

1 participant