baseweb
baseweb copied to clipboard
[styles] expand shorthand css properties
There are many cases in the styletron code where there are shorthand properties used. This is a problem when using the styletron-atomic engine where class order is not guaranteed. Searching the codebase for padding:
for example should return no results
Can we have a lint rule for this? A lot of our codebases have padding
, background
, border
and margin
etc.
@chasestarr Can you please let me know what exactly needs to be done?