prefers-color-scheme allows users not to have to manually change theme settings in every webapp they visit when they already set their browser and/or system theme as dark.
Therefore, it would be nice of StackEdit to automatically add colorTheme: dark to settings when prefers-color-scheme: dark is set.
As an alternative I tried to use localStorage.setItem from a userscript, but without success, because of the hash property I suppose.
Hello,
prefers-color-scheme
allows users not to have to manually change theme settings in every webapp they visit when they already set their browser and/or system theme as dark.Therefore, it would be nice of StackEdit to automatically add
colorTheme: dark
to settings whenprefers-color-scheme: dark
is set.As an alternative I tried to use
localStorage.setItem
from a userscript, but without success, because of thehash
property I suppose.Thanks