how to create a selector from a complex class name #256
-
I have this codesandbox that highlights the problem. export const root = composeStyles(
atoms({
display: "flex",
flexDirection: "column",
justifyContent: "flex-start"
}),
style({
font: "inherit",
fontFamily: "inherit",
fontSize: "inherit"
})
);
globalStyle(`.${root.split(" ").join(".")} label`, {
marginBottom: vars.space["1x"]
}); In order to create the selector, I had to do this is there a better way? |
Beta Was this translation helpful? Give feedback.
Answered by
mattcompiles
Jul 30, 2021
Replies: 1 comment
-
Hey 👋 This is something we've been discussing for awhile and we've just shipped a solution to. Check out the release notes. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
mattcompiles
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey 👋
This is something we've been discussing for awhile and we've just shipped a solution to. Check out the release notes.