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.

Allow to merge pseudo props

See original GitHub issue

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I’m always frustrated when […]

<Button _hover={{ fontWeight: 'bold' }}>Button</Button>

Something like this will disable the default hover styles.

Describe the solution you’d like A clear and concise description of what you want to happen.

Maybe we should merge custom pseudo props with the default one?

Describe alternatives you’ve considered A clear and concise description of any alternative solutions or features you’ve considered.

No.

Additional context Add any other context or screenshots about the feature request here.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:3
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
jvgreenawaycommented, Jul 29, 2021

I like this idea. Any news on this?

I anticipated that the _hover prop would be merged with the default styles by default.

0reactions
dlindenkreuzcommented, Oct 6, 2021

Can we reopen this please?

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to make reusable components with pseudo-selectors
When you first see an as prop, it can be something of an epiphany. Props can be anything, even components! JSX elements can...
Read more >
Pseudo-classes and pseudo-elements - MDN Web Docs
In this article we've introduced CSS pseudo-classes and pseudo-elements, which are special types of selectors.
Read more >
How to render pseudo before content dynamically in styled ...
I have no problem when I render pseudo before content statically, but it doesn't work when I try it dynamically. React Component. const...
Read more >
How do you combine Qt dynamic properties and - Reddit
How do you combine Qt dynamic properties and ::pseudo-elements in QSS? I need to hide a QComboBox's down arrow but only for a...
Read more >
Frontend Handbook | React / Chakra UI - Infinum
The main difference is that __css prop will be merged before sx ... can be used to enable custom component receive chakra's style...
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