Change default dark theme
This commit is contained in:
parent
fea1b06e43
commit
a5b12bac54
2 changed files with 3 additions and 3 deletions
|
@ -16,11 +16,11 @@ import App from './app.vue';
|
||||||
import checkForUpdate from './common/scripts/check-for-update';
|
import checkForUpdate from './common/scripts/check-for-update';
|
||||||
import MiOS from './mios';
|
import MiOS from './mios';
|
||||||
import { version, codename, lang, locale } from './config';
|
import { version, codename, lang, locale } from './config';
|
||||||
import { builtinThemes, applyTheme, darkTheme } from './theme';
|
import { builtinThemes, applyTheme, blackTheme } from './theme';
|
||||||
import Dialog from './common/views/components/dialog.vue';
|
import Dialog from './common/views/components/dialog.vue';
|
||||||
|
|
||||||
if (localStorage.getItem('theme') == null) {
|
if (localStorage.getItem('theme') == null) {
|
||||||
applyTheme(darkTheme);
|
applyTheme(blackTheme);
|
||||||
}
|
}
|
||||||
|
|
||||||
//#region FontAwesome
|
//#region FontAwesome
|
||||||
|
|
|
@ -49,7 +49,7 @@ const defaultDeviceSettings = {
|
||||||
roundedCorners: true,
|
roundedCorners: true,
|
||||||
reduceMotion: false,
|
reduceMotion: false,
|
||||||
darkmode: true,
|
darkmode: true,
|
||||||
darkTheme: 'dark',
|
darkTheme: 'bb5a8287-a072-4b0a-8ae5-ea2a0d33f4f2',
|
||||||
lightTheme: 'light',
|
lightTheme: 'light',
|
||||||
lineWidth: 1,
|
lineWidth: 1,
|
||||||
fontSize: 0,
|
fontSize: 0,
|
||||||
|
|
Loading…
Reference in a new issue