Bugfix: reloading theme after everything is initialized
This commit is contained in:
parent
e5b08e772a
commit
562caea0ff
1 changed files with 5 additions and 0 deletions
|
@ -247,6 +247,11 @@ import TextBox from "./TextBox.astro";
|
||||||
}
|
}
|
||||||
|
|
||||||
function reloadTheme() {
|
function reloadTheme() {
|
||||||
|
if (!lessLoaded) {
|
||||||
|
setTimeout(reloadTheme, 150)
|
||||||
|
lessLoaded = true
|
||||||
|
return
|
||||||
|
}
|
||||||
const accent = '#' + accentOpt.value
|
const accent = '#' + accentOpt.value
|
||||||
const bdrs = bdrsOpt.value
|
const bdrs = bdrsOpt.value
|
||||||
const purebg = purebgOpt.value
|
const purebg = purebgOpt.value
|
||||||
|
|
Loading…
Add table
Reference in a new issue