Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
ii517 opened this issue Apr 22, 2025 · 0 comments · May be fixed by #3971
Open

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

ii517 opened this issue Apr 22, 2025 · 0 comments · May be fixed by #3971
Assignees
Labels
question Further information is requested v3 #1289 vue

Comments

@ii517
Copy link

ii517 commented Apr 22, 2025

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?

@ii517 ii517 added question Further information is requested v3 #1289 labels Apr 22, 2025
@benjamincanac benjamincanac added the vue label Apr 22, 2025 — with Volta.net
@HugoRCD HugoRCD linked a pull request Apr 24, 2025 that will close this issue
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested v3 #1289 vue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants