基底テーマ分離

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: [],
recentEmojis: [],
themes: [],
theme: 'light',
theme: '4eea646f-7afa-4645-83e9-83af0333cd37',
animation: true,
animatedMfm: true,
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 builtinThemes = [
lightTheme,
darkTheme,
require('./themes/white.json5'),
require('./themes/black.json5'),
require('./themes/lavender.json5'),
require('./themes/halloween.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',
},
}