Added lite-mode build target

This commit is contained in:
Joel Collins 2020-02-12 14:19:19 +00:00
parent 7a6c4e6a6e
commit 49a38eada0
5 changed files with 19 additions and 2 deletions

View file

@ -61,6 +61,9 @@ export default {
},
mounted() {
if (process.env.VUE_APP_LITEMODE == "true") {
console.log("Built lite-mode");
}
// Query CSS dark theme preference
var mql = window.matchMedia("(prefers-color-scheme: dark)");
// Check for system dark theme when mounted