Add accent color picker

This commit is contained in:
Kay Thomas
2022-05-28 00:50:44 -07:00
parent 9400959852
commit 5219f53655
8 changed files with 90 additions and 8 deletions

View File

@@ -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
}
})
},