-
Notifications
You must be signed in to change notification settings - Fork 956
Closed
Labels
bugSomething isn't workingSomething isn't workingtriageAwaiting initial review and prioritizationAwaiting initial review and prioritizationv4#4488#4488
Description
Environment
- package-manager: bun
- vue 3.5.22
- tailwindcss 4.1.16
Is this bug related to Nuxt or Vue?
Vue
Package
v4.x
Version
v4.1.0
Reproduction
app.config.ts
import type { NuxtUIOptions } from "@nuxt/ui/unplugin"
export const uiAppConfig: NuxtUIOptions = {
colorMode: false,
ui: {
colors: {
primary: 'primary',
secondary: 'secondary',
success: 'success',
info: 'info',
warning: 'warning',
error: 'error'
},
icons: {
loading: 'i-lucide-loader',
chevronDown: 'i-lucide-chevron-down',
chevronRight: 'i-lucide-chevron-right',
external: 'i-lucide-arrow-up-right'
},
pageCard: {
slots: {
root: 'bg-red-500'
}
}
}
}Description
in app.config.ts,
pageCard: {
slots: {
root: '!bg-red-500'
}
} customization does not work. meaning default tailwind classes are overriding custom ones which should be other way round.
for example to change the colour of pageCard, i had to force the colour with !bg-red-500. i tired for both vuejs and nuxt, same thing.
Additional context
Logs
-Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingtriageAwaiting initial review and prioritizationAwaiting initial review and prioritizationv4#4488#4488