请问如何设置主题颜色为拂晓蓝呀?升级后变为亮色了,请大家帮忙给看一下,具体信息如下 #10554
Unanswered
egene-huang
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
defaultSettings 升级后 primaryColor 变量为colorPrimary 页面主题颜色变为很透明的亮色了,
升级了antd相关依赖 defaultSettings 变更了,根据声明文件修改后 主题变为亮色了,之前的拂晓蓝色没有了 请问如何设置回去呢?
项目是基于 ant-design-pro 脚手架开发的
💻 示例代码
代码版本:
老版本:
"@ant-design/charts": "1.3.5",
"@ant-design/icons": "^4.0.0",
"@ant-design/pro-card": "1.15.3",
"@ant-design/pro-descriptions": "1.9.6",
"@ant-design/pro-form": "1.43.5",
"@ant-design/pro-layout": "6.26.5",
"@ant-design/pro-table": "2.62.7",
"antd": "4.18.5",
升级后版本:
"@ant-design/charts": "1.4.2",
"@ant-design/icons": "4.8.0",
"@ant-design/pro-card": "^2.1.8",
"@ant-design/pro-descriptions": "^2.0.42",
"@ant-design/pro-form": "^2.5.2",
"@ant-design/pro-layout": "^7.5.2",
"@ant-design/pro-table": "^3.2.10",
"antd": "4.24.7",
另外 umi 版本需要升级吗?是否有兼容问题?目前版本为:
"umi": "3.5.20",
🚑 其他信息 | Other information
"react": "^16.8.6",
"react-dom": "^16.8.6",
OS: macos m1
Node: 12
浏览器 | browser: chrome 最新版本
麻烦大家了, 非常感谢
Beta Was this translation helpful? Give feedback.
All reactions