Tunanika
Tunanika
NNuxt
Created by Tunanika on 12/21/2024 in #❓・help
Nuxt UIHow to override component defaults
Hello, I am trying to override a component's styling but I am kind of failing to do so. This is my app.config.ts I made everything red so that it's easy to notice if it actually changes anything but it doesn't. Am I configuring something wrong? Also I tried to apply the classes on the component itself with [&_.inactive]:text-red-800 but that also didn't work. How can I do this? Thank you.
export default defineAppConfig({
ui: {
primary: 'green',
gray: 'slate',
horizontalNavigation: {
inactive: 'text-red-500 hover:text-red-900 dark:text-red-800 dark:hover:text-red-500',
active: 'text-red-900 dark:text-red-800'
}
}
})
export default defineAppConfig({
ui: {
primary: 'green',
gray: 'slate',
horizontalNavigation: {
inactive: 'text-red-500 hover:text-red-900 dark:text-red-800 dark:hover:text-red-500',
active: 'text-red-900 dark:text-red-800'
}
}
})
7 replies
NNuxt
Created by Tunanika on 8/26/2024 in #❓・help
Nuxt stuck on Nuxt logo while running on remote server
No description
7 replies