use svg as text

This commit is contained in:
2021-05-07 12:14:07 +02:00
parent b958189b0c
commit 70b53106ea
4 changed files with 33 additions and 9 deletions

View File

@@ -16,7 +16,6 @@
function init(): Theme {
if (typeof window !== 'undefined') {
const saved = window.localStorage.getItem('theme') as Theme
console.log(Theme, window.localStorage.getItem('theme'))
if (Object.values(Theme).includes(saved)) return saved
}
return Theme.Auto