This commit is contained in:
kakkokari-gtyih
2024-06-02 00:20:35 +09:00
parent e1a541d60b
commit b1d2674a04
2 changed files with 2 additions and 2 deletions

View File

@@ -19,7 +19,7 @@ if (isEmbedPage()) {
const bootOptions: Partial<CommonBootOptions> = {};
const params = new URLSearchParams(location.search);
const color = params.get('color');
const color = params.get('colorMode');
if (color && ['light', 'dark'].includes(color)) {
bootOptions.forceColorMode = color as 'light' | 'dark';
}