diff --git a/index.html b/index.html index a63c1fb3a..5de55fb66 100755 --- a/index.html +++ b/index.html @@ -144,36 +144,38 @@ } @keyframes spin { - to { transform: rotate(360deg); } + to { + transform: rotate(360deg); + } } - - - - + + if (color) { + root.style.setProperty('--primary', color); + root.style.setProperty('--accent', color); + root.style.setProperty('--ring', color); + } + + if (lang) root.lang = lang; + } catch (e) { + // ignore + } + })(); + + +