-
-
Notifications
You must be signed in to change notification settings - Fork 46.7k
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
Config Provider API does not allow customization for button text. #41291
Comments
|
Button token can find here: |
@zombieJ how would you change the button text color on hover? Don't see any token for that? |
but this is not working on your colorPrimaryTextHover: "green" |
@Danishkhurshid I'm having the exact same problem. how did you manage to resolve it? |
@a-giovana We ended up replacing ant with our own design system because of all the issues we were running into. |
Reproduction link
Steps to reproduce
Customizing text for AntD button through Config Provider doesn't work. Above is the link to codesandbox that displays a button component.
What is expected?
I expect the button text to change change on hover but it doesn't.
What is actually happening?
I have played around all the text variables but nothing seems to be working. Ideally applying colorPrimaryTextHover should change the color of the button text but it doesn't.
The text was updated successfully, but these errors were encountered: