client: Add custom themes

Co-authored-by:
WhiteBlankzero <WhiteBlankzero@users.noreply.github.com>
This commit is contained in:
ltlapy 2023-02-10 21:03:36 +09:00
parent 0a49b1f148
commit 7c8c62a88b
3 changed files with 37 additions and 1 deletions

View file

@ -29,6 +29,7 @@ export const getBuiltinThemes = () => Promise.all(
'l-cherry',
'l-sushi',
'l-u0',
'l-birdsite',
'd-dark',
'd-persimmon',
@ -39,8 +40,9 @@ export const getBuiltinThemes = () => Promise.all(
'd-green-orange',
'd-cherry',
'd-ice',
'd-qdon',
'd-u0',
'd-qdon',
'd-birdsite',
].map(name => import(`../themes/${name}.json5`).then(({ default: _default }): Theme => _default)),
);

View file

@ -0,0 +1,18 @@
{
id: 'twitterpuredark',
base: 'dark',
desc: 'Birdsite Pure Dark mode color',
name: 'Birdsite Pure Dark',
props: {
accent: '#1d9bf0',
bg: '#000',
link: '#1d9bf0',
hashtag: '#1d9bf0',
renote: '#71767b',
buttonGradateA: '@accent',
buttonGradateB: '@accent',
error: '#f4212e',
infoWarnFg: '#f4212e',
},
author:'@white@k.lapy.link',
}

View file

@ -0,0 +1,16 @@
{
id: 'twitterpurewhite',
base: 'light',
desc: 'Birdsite Pure white mode color',
name: 'Birdsite Pure white',
props: {
bg: '#fff',
link: '#1d9bf0',
accent: '#1d9bf0',
renote: '#536472',
hashtag: '#1d9bf0',
buttonGradateA: '@accent',
buttonGradateB: '@accent',
},
author: '@white@k.lapy.link',
}