https://www.shaynaproductions.com/
Blogging on: https://substack.com/@shaynaproductions
width: calc(var(--base) * 324);
padding: calc(var(--base) * 16) calc(var(--base) * 8)
It keeps my pages and components consistent and is more easily understood than all the variables Radix provides (--space-1 = 4px and --space-4 = 16px).
3/3
width: calc(var(--base) * 324);
padding: calc(var(--base) * 16) calc(var(--base) * 8)
It keeps my pages and components consistent and is more easily understood than all the variables Radix provides (--space-1 = 4px and --space-4 = 16px).
3/3
Modern libraries like Radix UI do it, but with multiple, not easily understood variables.
Since every designer thinks in 16px to a Rem, it makes it easier to translate from Figma.
2/3
Modern libraries like Radix UI do it, but with multiple, not easily understood variables.
Since every designer thinks in 16px to a Rem, it makes it easier to translate from Figma.
2/3
I use that variable everywhere (font size, spacing, width) calc(var(--base) * {pixels}).
1/3
I use that variable everywhere (font size, spacing, width) calc(var(--base) * {pixels}).
1/3