diff --git a/src/initialize.js b/src/initialize.js index 7b4e32b1b..80d4f35df 100644 --- a/src/initialize.js +++ b/src/initialize.js @@ -204,9 +204,10 @@ export function loadExternalScripts(externalScripts, data) { */ export function setCustomPrimaryColors() { const { CUSTOM_PRIMARY_COLORS } = getConfig(); + const { PARAGON_THEME_URLS } = getConfig(); const primary = CUSTOM_PRIMARY_COLORS['pgn-color-primary-base']; - if (!primary) { + if (!primary || PARAGON_THEME_URLS != null) { return; } document.documentElement.style.setProperty('--pgn-color-primary-base', primary);