mirror of
https://github.com/paricafe/misskey.git
synced 2025-03-22 14:39:25 -05:00
fix themes
This commit is contained in:
parent
a9e337bbf2
commit
ea5336a5e6
2 changed files with 3 additions and 2 deletions
packages/frontend
|
@ -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) => {
|
||||
|
|
|
@ -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)),
|
||||
);
|
||||
|
|
Loading…
Add table
Reference in a new issue