summaryrefslogtreecommitdiff
path: root/packages/frontend/src/scripts/theme.ts
diff options
context:
space:
mode:
authorかっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>2024-09-10 16:14:02 +0900
committerGitHub <noreply@github.com>2024-09-10 16:14:02 +0900
commitf393b6b898d146fbd1c88d9713fba94c8b2f1284 (patch)
tree5c4c048b894fa849c9c2022bbd975470259ff9f2 /packages/frontend/src/scripts/theme.ts
parentfix(frontend-embed): 不足していたスタイル・インポートを追... (diff)
downloadsharkey-f393b6b898d146fbd1c88d9713fba94c8b2f1284.tar.gz
sharkey-f393b6b898d146fbd1c88d9713fba94c8b2f1284.tar.bz2
sharkey-f393b6b898d146fbd1c88d9713fba94c8b2f1284.zip
fix(frontend/frontend-embed): インポートパス・テーマまわりなどの修正 (#14535)
* fix(frontend/frontend-embed): wrong imports * enhance(frontend-embed): サーバーデフォルトのテーマがある場合はそちらを利用するように * :art: * :art: * :art:
Diffstat (limited to 'packages/frontend/src/scripts/theme.ts')
-rw-r--r--packages/frontend/src/scripts/theme.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/frontend/src/scripts/theme.ts b/packages/frontend/src/scripts/theme.ts
index 9b9f1f030c..fc888c0908 100644
--- a/packages/frontend/src/scripts/theme.ts
+++ b/packages/frontend/src/scripts/theme.ts
@@ -52,7 +52,7 @@ export const getBuiltinThemes = () => Promise.all(
'd-cherry',
'd-ice',
'd-u0',
- ].map(name => import(`@/themes/${name}.json5`).then(({ default: _default }): Theme => _default)),
+ ].map(name => import(`@@/themes/${name}.json5`).then(({ default: _default }): Theme => _default)),
);
export const getBuiltinThemesRef = () => {