fix banner and chart color

This commit is contained in:
2026-06-24 11:52:09 +03:30
parent 6c89375370
commit d083469710
6 changed files with 31 additions and 15 deletions
+2 -2
View File
@@ -5,7 +5,7 @@ import { startPwaManifest } from '@/modules/pwa/manifest'
import { createVueApp } from '@/app/createApp'
import { setupRouterGuards } from '@/app/setupRouter'
import router from '@/router'
import { applyProjectTheme, isBoursecuProject } from '@/utils/config'
import { applyProjectTheme } from '@/utils/config'
import { useSettingsStore } from '@/store/settingsStore'
import { useUserStore } from '@/store/userStore'
import { getToken } from '@/utils'
@@ -71,7 +71,7 @@ function applyTenantThemeVars() {
const secondaryColor = window.__APP_CONFIG__?.user?.secondary_color
const backgroundColor = window.__APP_CONFIG__?.user?.background_color
if (color && !isBoursecuProject()) {
if (color) {
document.documentElement.style.setProperty('--App-primary-color', color)
}