Update src/mixins/theme.js

Co-authored-by: Adam Stachowicz <saibamenppl@gmail.com>
pull/217/head
Ponkhy 3 years ago committed by GitHub
parent 233c5661af
commit 8e883c9c6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -4,7 +4,7 @@ export default {
return { return {
system: (window.matchMedia("(prefers-color-scheme: dark)").matches) ? "dark" : "light", system: (window.matchMedia("(prefers-color-scheme: dark)").matches) ? "dark" : "light",
userTheme: localStorage.theme, userTheme: localStorage.theme,
userHeartbeatBar: localStorage.heartbeatBarTheme userHeartbeatBar: localStorage.heartbeatBarTheme,
}; };
}, },

Loading…
Cancel
Save