Added lite-mode build target
This commit is contained in:
parent
7a6c4e6a6e
commit
49a38eada0
5 changed files with 19 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue