We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Version: 3.0.x Environment: Both Type: Feature
Option for pseudo selectors and media query debugging.
Add simulate parameter for debugging pseudo selector and media selector styles.
Similar to glamor's simulate: https://github.com/threepointone/glamor/blob/master/docs/api.md#simulatepseudoclasses
simulate
Code Example:
renderer.renderRule(rule, {}, { ':hover': true, '@media (min-height: 300px)': false });
const StyledDiv = createComponent(() => {}); const pseudoState = { ':hover': true, '@media (min-height: 300px)': false }; <StyleDiv simulate={ pseudoState } />;
The text was updated successfully, but these errors were encountered:
This will fit perfectly as a plugin. I happily accept a PR and can also give some instructions on how to build it if you want to @limscoder
Sorry, something went wrong.
Ok. My team is currently spiking react-fela vs glamorous. If we pick fela, we'll investigate writing a plugin.
Ping me if you need any advice :)
ships with #292
No branches or pull requests
Version: 3.0.x
Environment: Both
Type: Feature
Description
Option for pseudo selectors and media query debugging.
Proposal
Add simulate parameter for debugging pseudo selector and media selector styles.
Similar to glamor's
simulate
: https://github.com/threepointone/glamor/blob/master/docs/api.md#simulatepseudoclassesCode Example:
The text was updated successfully, but these errors were encountered: