mirror of
https://github.com/kaythomas0/noisedash.git
synced 2025-11-14 20:27:59 +00:00
Add accent color picker
This commit is contained in:
@@ -489,6 +489,9 @@ export default {
|
||||
if (response.status === 200) {
|
||||
this.canUpload = response.data.user.canUpload
|
||||
this.$vuetify.theme.dark = response.data.user.darkMode
|
||||
const preferences = response.data.user.preferences
|
||||
this.$vuetify.theme.themes.dark.primary = preferences.accentColor
|
||||
this.$vuetify.theme.themes.light.primary = preferences.accentColor
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user