From a5b12bac54c80dc15b71acae06296eb97c7df180 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 17 Mar 2019 20:48:55 +0900 Subject: [PATCH] Change default dark theme --- src/client/app/init.ts | 4 ++-- src/client/app/store.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/client/app/init.ts b/src/client/app/init.ts index de77e998c8..0575992358 100644 --- a/src/client/app/init.ts +++ b/src/client/app/init.ts @@ -16,11 +16,11 @@ import App from './app.vue'; import checkForUpdate from './common/scripts/check-for-update'; import MiOS from './mios'; 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'; if (localStorage.getItem('theme') == null) { - applyTheme(darkTheme); + applyTheme(blackTheme); } //#region FontAwesome diff --git a/src/client/app/store.ts b/src/client/app/store.ts index 8f0a74ea35..e49934fc16 100644 --- a/src/client/app/store.ts +++ b/src/client/app/store.ts @@ -49,7 +49,7 @@ const defaultDeviceSettings = { roundedCorners: true, reduceMotion: false, darkmode: true, - darkTheme: 'dark', + darkTheme: 'bb5a8287-a072-4b0a-8ae5-ea2a0d33f4f2', lightTheme: 'light', lineWidth: 1, fontSize: 0,