Quincy Qiu
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
4 additions and
0 deletions
-
.dumi/pages/theme-editor/index.tsx
|
@ -183,6 +183,10 @@ const CustomTheme = () => { |
|
|
style={{ height: 'calc(100vh - 64px - 56px)' }} |
|
|
style={{ height: 'calc(100vh - 64px - 56px)' }} |
|
|
onThemeChange={(newTheme) => { |
|
|
onThemeChange={(newTheme) => { |
|
|
setTheme(newTheme.config); |
|
|
setTheme(newTheme.config); |
|
|
|
|
|
setThemeConfigContent({ |
|
|
|
|
|
json: newTheme.config, |
|
|
|
|
|
text: undefined, |
|
|
|
|
|
}); |
|
|
}} |
|
|
}} |
|
|
locale={lang === 'cn' ? zhCN : enUS} |
|
|
locale={lang === 'cn' ? zhCN : enUS} |
|
|
/> |
|
|
/> |
|
|