diff --git a/docs/docs/index.html b/docs/docs/index.html index 156fe06..70d2ef9 100644 --- a/docs/docs/index.html +++ b/docs/docs/index.html @@ -43,7 +43,7 @@

Looking for technicals?

>EffortlessConfig Fields / QueriesFields diff --git a/docs/home.js b/docs/home.js index 030b87a..f2b80af 100644 --- a/docs/home.js +++ b/docs/home.js @@ -13,18 +13,24 @@ document.addEventListener("templateConstructed", function () { section.style.background = "var(--background-color)"; } else { section.style.backgroundColor = "transparent"; - section.style.background = "linear-gradient(90deg, var(--effortless-blue), var(--effortless-green))"; + section.style.background = + "linear-gradient(90deg, var(--effortless-blue), var(--effortless-green))"; } }); } function updateArrowColors() { - var currentSectionColor = getComputedStyle(sections[currentSection]).backgroundColor; - var backgroundColorHex = getComputedStyle(document.documentElement).getPropertyValue("--background-color").trim(); + var currentSectionColor = getComputedStyle( + sections[currentSection] + ).backgroundColor; + var backgroundColorHex = getComputedStyle(document.documentElement) + .getPropertyValue("--background-color") + .trim(); var backgroundColorRgb = hexToRgb(backgroundColorHex); - var arrowColor = currentSectionColor === backgroundColorRgb - ? "var(--primary-color)" - : "var(--background-color)"; + var arrowColor = + currentSectionColor === backgroundColorRgb + ? "var(--primary-color)" + : "var(--background-color)"; upArrow.style.color = arrowColor; downArrow.style.color = arrowColor; @@ -32,7 +38,10 @@ document.addEventListener("templateConstructed", function () { function updateArrowVisibility() { upArrow.classList.toggle("show", currentSection > 0); - downArrow.classList.toggle("show", currentSection < sections.length - 1); + downArrow.classList.toggle( + "show", + currentSection < sections.length - 1 + ); } function scrollToSection(index) { diff --git a/docs/templating.js b/docs/templating.js index e72831f..e2863a6 100644 --- a/docs/templating.js +++ b/docs/templating.js @@ -61,18 +61,27 @@ document.addEventListener("DOMContentLoaded", function () { const sidebar = `