Change default dark theme

This commit is contained in:
syuilo 2019-03-17 20:48:55 +09:00
parent fea1b06e43
commit a5b12bac54
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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,