mirror of
https://github.com/devfake/flox.git
synced 2024-11-15 06:32:34 +01:00
set dark theme by default
This commit is contained in:
parent
1f3a647fa7
commit
e76ea44a62
@ -34,7 +34,7 @@ const App = new Vue({
|
|||||||
|
|
||||||
checkForUserColorScheme() {
|
checkForUserColorScheme() {
|
||||||
if( ! localStorage.getItem('color')) {
|
if( ! localStorage.getItem('color')) {
|
||||||
localStorage.setItem('color', 'light');
|
localStorage.setItem('color', 'dark');
|
||||||
}
|
}
|
||||||
|
|
||||||
this.setColorScheme(localStorage.getItem('color'));
|
this.setColorScheme(localStorage.getItem('color'));
|
||||||
|
Loading…
Reference in New Issue
Block a user