Skip to content
Snippets Groups Projects
Unverified Commit f3206d09 authored by Acid Chicken (硫酸鶏)'s avatar Acid Chicken (硫酸鶏) Committed by GitHub
Browse files

build: set default theme for Storybook

parent 59dc9516
No related branches found
No related tags found
No related merge requests found
......@@ -19,7 +19,7 @@ function loadTheme(applyTheme: typeof import('../src/scripts/theme')['applyTheme
const theme = themes[document.documentElement.dataset.misskeyTheme];
if (theme) {
applyTheme(themes[document.documentElement.dataset.misskeyTheme]);
} else if (isChromatic()) {
} else {
applyTheme(themes['l-light']);
}
const observer = new MutationObserver((entries) => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment