基底テーマ分離

This commit is contained in:
syuilo 2020-03-21 23:28:17 +09:00
parent ed5386771a
commit da2112b659
4 changed files with 29 additions and 3 deletions

View file

@ -35,7 +35,7 @@ const defaultDeviceSettings = {
accounts: [], accounts: [],
recentEmojis: [], recentEmojis: [],
themes: [], themes: [],
theme: 'light', theme: '4eea646f-7afa-4645-83e9-83af0333cd37',
animation: true, animation: true,
animatedMfm: true, animatedMfm: true,
imageNewTab: false, imageNewTab: false,

View file

@ -13,8 +13,8 @@ export const lightTheme: Theme = require('./themes/_light.json5');
export const darkTheme: Theme = require('./themes/_dark.json5'); export const darkTheme: Theme = require('./themes/_dark.json5');
export const builtinThemes = [ export const builtinThemes = [
lightTheme, require('./themes/white.json5'),
darkTheme, require('./themes/black.json5'),
require('./themes/lavender.json5'), require('./themes/lavender.json5'),
require('./themes/halloween.json5'), require('./themes/halloween.json5'),
require('./themes/garden.json5'), require('./themes/garden.json5'),

View file

@ -0,0 +1,13 @@
{
id: '8c539dc1-0fab-4d47-9194-39c508e9bfe1',
name: 'Black',
author: 'syuilo',
desc: '',
base: 'dark',
props: {
divider: '#2b2b2b',
},
}

View file

@ -0,0 +1,13 @@
{
id: '4eea646f-7afa-4645-83e9-83af0333cd37',
name: 'White',
author: 'syuilo',
desc: '',
base: 'light',
props: {
messageBg: '#dedede',
},
}