From 645b855120e6e593caf802384ca208f3438951f1 Mon Sep 17 00:00:00 2001 From: Adam Iannazzone <46025473+jiannazzone@users.noreply.github.com> Date: Mon, 23 Sep 2024 19:56:49 -0400 Subject: [PATCH] Update style of accessibility.js --- scripts/accessibility.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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