Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Customizing components theme does not work for Menu background color #39512

Closed
c3Vu opened this issue Dec 13, 2022 · 2 comments
Closed

Customizing components theme does not work for Menu background color #39512

c3Vu opened this issue Dec 13, 2022 · 2 comments

Comments

@c3Vu
Copy link

c3Vu commented Dec 13, 2022

Reproduction link

Edit on CodeSandbox

Steps to reproduce

global colorBgBase token works, but it does not work when customizing component tokens

What is expected?

I can customize component tokens in Menu

What is actually happening?

its not working

Environment Info
antd 5.0.4
React 18
System mac big sur
Browser chrome
@github-actions
Copy link
Contributor

@MadCcc
Copy link
Member

MadCcc commented Dec 13, 2022

Try colorItemBg.
Notice that these component tokens are not stable in current version, please reference on tokens in offcial site in later versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants