Environment
- Operating System: Darwin
- Node Version: v22.13.1
- Nuxt Version: 3.15.4
- CLI Version: 3.21.1
- Nitro Version: 2.10.4
- Package Manager: npm@10.9.2
- Builder: -
- User Config: modules, plugins, devtools, css, compatibilityDate, eslint
- Runtime Modules: @nuxt/ui@3.0.0-alpha.12, @nuxt/eslint@0.7.6
- Build Modules: -
Is this bug related to Nuxt or Vue?
Nuxt
Version
v3.0.0-alpha.12
Reproduction
https://codesandbox.io/p/sandbox/purple-sunset-9qdqv3
Just upgrade Nuxt template to v3.0.0-alpha.12 and remove style from app.vue make preview without theme colors
Description
Tailwind v4.0.5 add optimization to compiled css that include only theme variable that are used
Additional context
Nuxt Template with v3.0.0-alpha.12 without style in app.vue

Nuxt Template with v3.0.0-alpha.10 without style in app.vue

Logs
Environment
Is this bug related to Nuxt or Vue?
Nuxt
Version
v3.0.0-alpha.12
Reproduction
https://codesandbox.io/p/sandbox/purple-sunset-9qdqv3
Just upgrade Nuxt template to v3.0.0-alpha.12 and remove style from app.vue make preview without theme colors
Description
Tailwind v4.0.5 add optimization to compiled css that include only theme variable that are used
Additional context
Nuxt Template with v3.0.0-alpha.12 without style in app.vue
Nuxt Template with v3.0.0-alpha.10 without style in app.vue
Logs