GitHub user VasilijeBursac added a comment to the discussion: Styling Secondary Buttons using Ant Design Tokens
Thank you very much — `colorPrimaryBg` and `colorPrimaryBgHover` tokens defined within the `"Button"` component tag in JSON definitely work! It would be great if there was a way to also set the color for the pressed state of secondary buttons (when the mouse is clicked) and the button text color in both default and hover states. For the pressed state, I tried `colorPrimaryActive`, but it only applies to primary buttons, while `colorPrimaryBgActive` doesn’t seem to have any effect on the pressed background color. I also tried `colorPrimaryText` and `colorPrimaryTextHover`, but these seem to apply only to link-style buttons without a background (like the “View All >>” link on the Home page). Is there an analogy I can follow when styling secondary buttons compared to primary ones? GitHub link: https://github.com/apache/superset/discussions/34574#discussioncomment-14076704 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
