diff --git a/src/components/ThemeModal.astro b/src/components/ThemeModal.astro index 1ae7e73..b1cfb56 100644 --- a/src/components/ThemeModal.astro +++ b/src/components/ThemeModal.astro @@ -247,6 +247,11 @@ import TextBox from "./TextBox.astro"; } function reloadTheme() { + if (!lessLoaded) { + setTimeout(reloadTheme, 150) + lessLoaded = true + return + } const accent = '#' + accentOpt.value const bdrs = bdrsOpt.value const purebg = purebgOpt.value