From 95b0d501ffd22f5458a7602e752a335e9fd11a2f Mon Sep 17 00:00:00 2001 From: qinhaoyan <30946345+qinhaoyan@users.noreply.github.com> Date: Thu, 16 Nov 2023 13:34:23 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=BC=96=E8=BE=91=E5=99=A8=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E4=B8=BB=E9=A2=98=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/index.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/index.tsx b/src/index.tsx index 8d2e35ea..42fdb767 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -12,8 +12,11 @@ import 'amis/sdk/iconfont.css'; import 'amis-editor-core/lib/style.css'; import './scss/style.scss'; import {setDefaultTheme} from 'amis'; +import {setThemeConfig} from 'amis-editor-core'; +import themeConfig from 'amis-theme-editor-helper/lib/systemTheme/cxd'; setDefaultTheme('cxd'); +setThemeConfig(themeConfig); // react < 18 ReactDOM.render(, document.getElementById('root'));