Consider non-grouped styles as base
#29
hennessyevan
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
Hey, so the main reason for having const RedBox = styled('div', {
base: "some-class-name",
}) We could support both syntaxes though |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In Stitches, we put "base" styles in the object like so
In macaron, following vanilla-extract, we use the
base
keywordI'm not sure what the benefit of using
base
is here, perhaps there is some good reason but could we possibly support both syntaxes? It would surely make it just a little easier for our team to migrate from stitches to macaron.Beta Was this translation helpful? Give feedback.
All reactions