From 8149e270ea8a7da2c49fdb58016d740b2b96ae96 Mon Sep 17 00:00:00 2001 From: chr Date: Sat, 18 Aug 2018 20:07:43 -0700 Subject: [PATCH] Actually make cybre theme default --- inline-script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inline-script.js b/inline-script.js index 31b25a2..fce50b6 100644 --- a/inline-script.js +++ b/inline-script.js @@ -18,7 +18,7 @@ window.__themeColors = { if (localStorage.store_currentInstance && localStorage.store_instanceThemes) { let safeParse = (str) => str === 'undefined' ? undefined : JSON.parse(str) let theme = safeParse(localStorage.store_instanceThemes)[safeParse(localStorage.store_currentInstance)] - if (theme && theme !== 'default') { + if (theme && theme !== 'cybre') { document.body.classList.add(`theme-${theme}`) let link = document.createElement('link') link.rel = 'stylesheet'