提交 1e653055 作者: 翁进城

修改主题配置

上级 9fb83ac4
import React from "react";
import { ConfigProvider } from "antd";
const testGreenColor = "#52c41a";
const testRedColor = "#ff0000";
const withTheme = (node: JSX.Element) => (
<>
<ConfigProvider
theme={{
token: {
colorPrimary: '#52c41a',
colorPrimary: "rgba(255, 85, 45, 1)",
},
}}
>
<ConfigProvider
theme={{
token: {
borderRadius: 16,
borderRadius: 6,
},
}}
>
......@@ -24,6 +21,6 @@ const withTheme = (node: JSX.Element) => (
</ConfigProvider>
</ConfigProvider>
</>
)
);
export default withTheme;
\ No newline at end of file
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论