diff --git a/app.vue b/app.vue index b2425a6..b8ce315 100644 --- a/app.vue +++ b/app.vue @@ -12,8 +12,10 @@ const { data: appSiteSettings } = await useFetch('/api/site-settings', { }) }) +const siteAccentColor = computed(() => normalizeBrandColor(appSiteSettings.value?.brandColor || DEFAULT_BRAND_COLOR)) + const siteAccentStyle = computed(() => ({ - '--site-accent': normalizeBrandColor(appSiteSettings.value?.brandColor || DEFAULT_BRAND_COLOR) + '--site-accent': siteAccentColor.value })) useHead(() => ({ @@ -32,6 +34,7 @@ useHead(() => ({