You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 24, 2024. It is now read-only.
I'm trying to implement my own theme following the documentation. However, there are certain parameters that are not being considered, such as UButton "size," "color", "intent" etc.
But when i change UButton "rounded" for example, it works...
To Reproduce
// main
...
import nuxtLabsTheme from './customTheme'
import { createUI } from 'nuxt-ui-vue'
import App from './App.vue'
const app = createApp(App)
const UI = createUI({
registerComponents: false,
})
app.use(UI, nuxtLabsTheme)
...
i know that i can change the color using the attribute, but what i want is to change the default color, and other stuff using the theme file, which seems to be impossible.
your are using the default theme nuxtLabsTheme to load some configs, and not the one we set when we app.use(UI, theme)
Yep, I noticed the same a while ago and after looking around the code I noticed in many components there were direct references to the nuxtLabsTheme located in the package's own files which essentially makes setting your own theme file redundant.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Describe the bug
I'm trying to implement my own theme following the documentation. However, there are certain parameters that are not being considered, such as UButton "size," "color", "intent" etc.
But when i change UButton "rounded" for example, it works...
To Reproduce
Expected behavior
the default color of a button must be red, or i still have a green button
The text was updated successfully, but these errors were encountered: