1
0
Fork 0
mirror of https://github.com/paricafe/misskey.git synced 2025-03-22 14:39:25 -05:00

fix themes

This commit is contained in:
fly_mc 2024-11-07 00:49:51 +08:00
parent a9e337bbf2
commit ea5336a5e6
2 changed files with 3 additions and 2 deletions
packages/frontend
.storybook
src/scripts

View file

@ -29,7 +29,7 @@ const keys = [
'd-ice',
'd-u0',
'p-light2',
'p-dark2'
'p-dark2',
]
await Promise.all(keys.map((key) => readFile(new URL(`../../frontend-shared/themes/${key}.json5`, import.meta.url), 'utf8'))).then((sources) => {

View file

@ -52,12 +52,13 @@ export const getBuiltinThemes = () => Promise.all(
'd-cherry',
'd-ice',
'd-u0',
'p-light',
'p-dark',
'p-light2',
'p-dark2',
"shw-light",
"shw-light",
"stpv-light",
"stpv-dark"
].map(name => import(`@@/themes/${name}.json5`).then(({ default: _default }): Theme => _default)),
);