1
0
Fork 0
mirror of https://github.com/paricafe/misskey.git synced 2025-04-02 08:29:29 -05:00
This commit is contained in:
FLY_MC 2025-03-11 06:49:35 +08:00
parent 457ee70792
commit 371e51dbb3

View file

@ -34,6 +34,10 @@ export const themeProps = Object.keys(lightTheme.props).filter(key => !key.start
export const getBuiltinThemes = () => Promise.all(
[
'p-light2',
'p-light',
'shw-light',
'stpv-light',
'l-light',
'l-coffee',
'l-apricot',
@ -44,6 +48,9 @@ export const getBuiltinThemes = () => Promise.all(
'l-sushi',
'l-u0',
'p-dark2',
'p-dark',
'stpv-dark',
'd-dark',
'd-persimmon',
'd-astro',
@ -54,14 +61,6 @@ export const getBuiltinThemes = () => Promise.all(
'd-cherry',
'd-ice',
'd-u0',
'p-light',
'p-dark',
'p-light2',
'p-dark2',
'shw-light',
'stpv-light',
'stpv-dark',
].map(name => import(`@@/themes/${name}.json5`).then(({ default: _default }): Theme => _default)),
);