Replies: 1 comment
-
在 Ant Design v5 中开启 CSS 变量后,您可以通过以下步骤来修改变量属性:
通过这些步骤,您可以在 Ant Design v5 中开启并修改 CSS 变量属性。 🪧 TipsFor further assistance, please describe your question in the comments and @petercat-assistant to start a conversation with me. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
antdv5版本开启cssVar后如何修改变量属性,如果在组件外层容器设置style={{"--ant-button-primary-color":"red"}}变量修改不生效,必须在节点元素上加入style={{"--ant-button-primary-color":"red"}}才能生效
Beta Was this translation helpful? Give feedback.
All reactions