From c0936d5a45fd5e9c3b5cb20792a018b284b6f1d1 Mon Sep 17 00:00:00 2001 From: kindtanton Date: Fri, 22 Nov 2019 17:47:15 +0100 Subject: [PATCH] Fix font-family variable There was 1 quotation mark to much at the end of the font-family variable which was causing some browsers to fall back to the default font face -which was not the default font face of haldis. --- app/static/js/darkmode.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/static/js/darkmode.js b/app/static/js/darkmode.js index 2391653..c74145e 100644 --- a/app/static/js/darkmode.js +++ b/app/static/js/darkmode.js @@ -62,7 +62,7 @@ root.style.setProperty('--dGray1', "#666666"); root.style.setProperty('--dGray0', "#444444"); //Light color root.style.setProperty('--dBlue', "#0A84FF"); - root.style.setProperty('--FontFamily', '"Roboto","Helvetica Neue",Helvetica,Arial,sans-serif"'); + root.style.setProperty('--FontFamily', '"Roboto","Helvetica Neue",Helvetica,Arial,sans-serif'); root.style.setProperty('--FontSize', '13px'); document.querySelector('.background').style.backgroundImage = 'none'; } @@ -77,7 +77,7 @@ root.style.setProperty('--dGray1', "#8E8E93"); root.style.setProperty('--dGray0', "#E0E0E8"); //Light color root.style.setProperty('--dBlue', "#0A84FF"); - root.style.setProperty('--FontFamily', '"Roboto","Helvetica Neue",Helvetica,Arial,sans-serif"'); + root.style.setProperty('--FontFamily', '"Roboto","Helvetica Neue",Helvetica,Arial,sans-serif'); root.style.setProperty('--FontSize', '13px'); document.querySelector('.background').style.backgroundImage = 'none'; } @@ -92,7 +92,7 @@ root.style.setProperty('--dGray1', "#F28705"); root.style.setProperty('--dGray0', "#FFEB65"); //Light color root.style.setProperty('--dBlue', "#D91604"); - root.style.setProperty('--FontFamily', '"Roboto","Helvetica Neue",Helvetica,Arial,sans-serif"'); + root.style.setProperty('--FontFamily', '"Roboto","Helvetica Neue",Helvetica,Arial,sans-serif'); root.style.setProperty('--FontSize', '13px'); document.querySelector('.background').backgroundImage = "url('/static/images/Halloween.jpeg')"; }