diff --git a/scripts/accessibility.js b/scripts/accessibility.js index a89f0cd..850d3f5 100644 --- a/scripts/accessibility.js +++ b/scripts/accessibility.js @@ -1,10 +1,10 @@ function pixelFontToggle() { - const pixelFontDefault = "\"Upheaval TT\", monospace;" + const pixelFontDefault = '\"Upheaval TT\", monospace;' - const pixelFontSwitchElem = document.getElementById("pixel-font-switch"); + const pixelFontSwitchElem = document.getElementById('pixel-font-switch'); if (pixelFontSwitchElem.checked) { - document.documentElement.style.cssText = "--pixel-font: \"Upheaval TT\", monospace"; + document.documentElement.style.cssText = '--pixel-font: \"Upheaval TT\", monospace'; } else { - document.documentElement.style.cssText = "--pixel-font: \"Source Sans 3\", sans-serif"; + document.documentElement.style.cssText = '--pixel-font: \"Source Sans 3\", sans-serif'; } } \ No newline at end of file