mirror of
https://github.com/EvolutionAPI/evolution-manager.git
synced 2025-12-24 13:17:45 -06:00
Fix toggleTheme method to update theme and store
it in local storage
This commit is contained in:
@@ -11,9 +11,12 @@ import 'vuetify/styles'
|
||||
// Composables
|
||||
import { createVuetify } from 'vuetify'
|
||||
|
||||
const defaultTheme = localStorage.getItem('theme') || 'light'
|
||||
|
||||
// https://vuetifyjs.com/en/introduction/why-vuetify/#feature-guides
|
||||
export default createVuetify({
|
||||
theme: {
|
||||
defaultTheme,
|
||||
themes: {
|
||||
light: {
|
||||
colors: {
|
||||
|
||||
Reference in New Issue
Block a user