mirror of
https://github.com/RetroDECK/RetroDECK-Website.git
synced 2024-11-27 17:15:38 +00:00
Update style of accessibility.js
This commit is contained in:
parent
c2db42ea37
commit
645b855120
|
@ -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';
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue