Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
ref(settings): improve padding and layout consistency with spacing scale #7660
This pull fixes a bunch of padding inconsistencies by adding a basic scale system.
Currently, we use
This proposal would move us towards something that will always work across multiple-use cases: be it a styled component, an inline-style, a layout utility component like
This system will work for
Finally, it opens up a door towards typography and white-space scales that work together in harmony. This will make it easier to compose combinations of font-size, line-height, and margin + padding.