forked from FoundKeyGang/FoundKey
基底テーマ分離
This commit is contained in:
parent
ed5386771a
commit
da2112b659
4 changed files with 29 additions and 3 deletions
|
@ -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,
|
||||||
|
|
|
@ -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'),
|
||||||
|
|
13
src/client/themes/black.json5
Normal file
13
src/client/themes/black.json5
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
{
|
||||||
|
id: '8c539dc1-0fab-4d47-9194-39c508e9bfe1',
|
||||||
|
|
||||||
|
name: 'Black',
|
||||||
|
author: 'syuilo',
|
||||||
|
desc: '',
|
||||||
|
|
||||||
|
base: 'dark',
|
||||||
|
|
||||||
|
props: {
|
||||||
|
divider: '#2b2b2b',
|
||||||
|
},
|
||||||
|
}
|
13
src/client/themes/white.json5
Normal file
13
src/client/themes/white.json5
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
{
|
||||||
|
id: '4eea646f-7afa-4645-83e9-83af0333cd37',
|
||||||
|
|
||||||
|
name: 'White',
|
||||||
|
author: 'syuilo',
|
||||||
|
desc: '',
|
||||||
|
|
||||||
|
base: 'light',
|
||||||
|
|
||||||
|
props: {
|
||||||
|
messageBg: '#dedede',
|
||||||
|
},
|
||||||
|
}
|
Loading…
Reference in a new issue