Update src/mixins/theme.js

Co-authored-by: Adam Stachowicz <saibamenppl@gmail.com>
This commit is contained in:
Ponkhy 2021-08-16 17:14:05 +02:00 committed by GitHub
parent 233c5661af
commit 8e883c9c6a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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