From da2112b659761798adf96bc5d67a2314b58b39b2 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 21 Mar 2020 23:28:17 +0900 Subject: [PATCH] =?UTF-8?q?=E5=9F=BA=E5=BA=95=E3=83=86=E3=83=BC=E3=83=9E?= =?UTF-8?q?=E5=88=86=E9=9B=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/client/store.ts | 2 +- src/client/theme.ts | 4 ++-- src/client/themes/black.json5 | 13 +++++++++++++ src/client/themes/white.json5 | 13 +++++++++++++ 4 files changed, 29 insertions(+), 3 deletions(-) create mode 100644 src/client/themes/black.json5 create mode 100644 src/client/themes/white.json5 diff --git a/src/client/store.ts b/src/client/store.ts index 29709096ee..7a9d09d2a5 100644 --- a/src/client/store.ts +++ b/src/client/store.ts @@ -35,7 +35,7 @@ const defaultDeviceSettings = { accounts: [], recentEmojis: [], themes: [], - theme: 'light', + theme: '4eea646f-7afa-4645-83e9-83af0333cd37', animation: true, animatedMfm: true, imageNewTab: false, diff --git a/src/client/theme.ts b/src/client/theme.ts index 576096cf70..a34f2b5c34 100644 --- a/src/client/theme.ts +++ b/src/client/theme.ts @@ -13,8 +13,8 @@ export const lightTheme: Theme = require('./themes/_light.json5'); export const darkTheme: Theme = require('./themes/_dark.json5'); export const builtinThemes = [ - lightTheme, - darkTheme, + require('./themes/white.json5'), + require('./themes/black.json5'), require('./themes/lavender.json5'), require('./themes/halloween.json5'), require('./themes/garden.json5'), diff --git a/src/client/themes/black.json5 b/src/client/themes/black.json5 new file mode 100644 index 0000000000..75ddaafead --- /dev/null +++ b/src/client/themes/black.json5 @@ -0,0 +1,13 @@ +{ + id: '8c539dc1-0fab-4d47-9194-39c508e9bfe1', + + name: 'Black', + author: 'syuilo', + desc: '', + + base: 'dark', + + props: { + divider: '#2b2b2b', + }, +} diff --git a/src/client/themes/white.json5 b/src/client/themes/white.json5 new file mode 100644 index 0000000000..845cdcf39c --- /dev/null +++ b/src/client/themes/white.json5 @@ -0,0 +1,13 @@ +{ + id: '4eea646f-7afa-4645-83e9-83af0333cd37', + + name: 'White', + author: 'syuilo', + desc: '', + + base: 'light', + + props: { + messageBg: '#dedede', + }, +}