This commit is contained in:
syuilo
2024-08-27 11:00:15 +09:00
parent dc76f14457
commit fc7d22f4e8
5 changed files with 59 additions and 0 deletions

View File

@@ -8,6 +8,9 @@ import 'vite/modulepreload-polyfill';
import '@/style.scss';
import { createApp, defineAsyncComponent } from 'vue';
import lightTheme from '@@/themes/l-light.json5';
import darkTheme from '@@/themes/d-dark.json5';
import { applyTheme } from './theme.js';
import { setIframeId } from '@/post-message.js';
import { parseEmbedParams } from '@/embed-page.js';
@@ -18,6 +21,8 @@ const embedParams = parseEmbedParams(params);
console.info(embedParams);
applyTheme(darkTheme);
// サイズの制限
document.documentElement.style.maxWidth = '500px';