refactor: simplify frontend theme setup

This commit is contained in:
2026-05-07 16:35:47 -04:00
parent 9768a37252
commit 6ac05e1a10
9 changed files with 70 additions and 199 deletions

View File

@@ -35,10 +35,7 @@ import { useChannelsStore } from '@/features/channels/stores/channelsStore.js';
import { i18n } from '@/plugins/i18n.js';
import config from '@/config.js';
import { createHead } from '@vueuse/head';
import { applyBranding } from '@/branding/applyBranding.js';
import { getVuetifyThemeColors } from '@/branding/branding.js';
applyBranding();
import { socializeTheme } from '@/plugins/theme.js';
const vuetify = createVuetify({
components: {
@@ -64,10 +61,7 @@ const vuetify = createVuetify({
theme: {
defaultTheme: 'socializeLight',
themes: {
socializeLight: {
dark: false,
colors: getVuetifyThemeColors(),
},
socializeLight: socializeTheme,
},
},
});