diff --git a/src/initialize.js b/src/initialize.js index ae551ec61..41c16cd26 100644 --- a/src/initialize.js +++ b/src/initialize.js @@ -215,9 +215,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);