Skip to content

Issue with dynamically changing theme colors in Nuxt UI using Vue 3 #3952

@ii517

Description

@ii517

Description

Hi, I am using Vue 3 and trying to dynamically change the theme color of nuxt-ui. I have the following code:

const appConfig = useAppConfig()
appConfig.ui.colors.primary = color

However, this doesn’t seem to work as expected. I’m wondering if I’m using it incorrectly. Could you please advise how I can dynamically switch the theme in nuxt-ui in Vue 3?

Metadata

Metadata

Assignees

Labels

questionFurther information is requestedv3#1289vue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions