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
No instance for Monoid Refinement #167
Comments
Happens when importing only |
See #53 Just to be clear, you can sort of achieve what you seem to want with withPseudo :: String -> Refinement -> Css -> Css
withPseudo x y z =
star # byClass (pack x) <> star # y <? z or better, withPseudo :: Text -> Refinement -> Css -> Css
withPseudo class ref z =
foldMap (star #) [byClass class. ref] <? z Depending on what you're doing, you may wish to throw in a |
I intended to do something like withPseudo "some-class" (hover <> focus) $ do
color red
display inlineFlex Simply because there seemed to be a |
Ok, i just learned to do this, so im closing the issue:
|
The code:
The error:
The text was updated successfully, but these errors were encountered: