question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Button active and hover themes not working

See original GitHub issue

It looks like button theming is not working correctly as of v2.14.0.

Expected Behavior

Buttons should be themable by button.active.primary.extend, button.hover.primary.extend etc as shown in base.d.ts#L323. The custom button in the storybook is not using this new theme format.

Actual Behavior

When using the new format with button.active.primary instead of button.primary.active the theme has no effect.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

4reactions
tayseacommented, Aug 26, 2020

Thanks for the feedback @chancegraff, I will read through the docs and find an appropriate spot to add it.

1reaction
tayseacommented, Aug 26, 2020

I think a pass at the docs to specify which theme objects are available only when button.default is defined would be beneficial. I can do a pass at that this afternoon.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Button hover colors changed from customizer is (still) not ...
Hello, I use Neve Pro theme on my WordPress website. But, I've faced a problem with the button colors on hover. Firstly :...
Read more >
Bootstrap: Custom CSS not working on button hover
The btn:active selector defines the rule background-image:none . (somewhere in the bootstrap theme css) The btn:hover never resets the ...
Read more >
Nav button active state effect not working - BB Theme
Hi Team,. I have this page here: http://tpl-011.1stbydesign.info/order-online/. The active state effect should have the text as white but ...
Read more >
Default CSS for visited, focus & hover missing in Theme ...
Add a button Elementor. · Install and activate latest Astra theme. · Go to Dashboard - Elementor -> Settings -> Disable Default Colors...
Read more >
Topic: hover and click styles on buttons | Themeco Community
Basically, you have to do it similar to :hover, but as :active. ... I red the thread on Implementing Additional Button Colors but...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found