-
Hi everyone! I was wondering if there is a way to share the same styles for multiple condition shortcuts? For example, let's assume that I want to share the same styles for const styles = css({
'_focus, _expanded': {
... // My shared styles
}
}); But it doesn't work, obviously, so I was wondering how can I achieve this? |
Beta Was this translation helpful? Give feedback.
Answered by
astahmer
Aug 10, 2023
Replies: 1 comment 1 reply
-
you can either make a custom condition that combines both of those, or just re-use the same style object like:
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
fseglard
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
you can either make a custom condition that combines both of those, or just re-use the same style object like: