Closed indiejoseph closed 3 years ago
Actually that's not the way it works but I will consider it! Thanks.
Thanks! I wonder how did you handle it?
or something like:
<x.p text={{ xs: 'heading1', lg: 'heading2' }} />
<x.p text={{ xs: 'heading1', lg: 'heading2' }} />
yeah
I tested it and it already work, example:
const theme = {
texts: { custom: { fontSize: { _: 10, md: 16 } } },
}
💬 Questions and Help
I wonder is there any way to do responsive scale in theme object, like how styled-system does https://styled-system.com/theme-specification#scale-objects.
Thanks!