rancher / dashboard

The Rancher UI
https://rancher.com
Apache License 2.0
455 stars 257 forks source link

Design: Add spacing variables and information to storybook #8762

Open kwwii opened 1 year ago

kwwii commented 1 year ago

We need a set of common spacing variables for the UI. These should also be documented in storybook.

kwwii commented 1 year ago

Something similar to our old design system: Screenshot 2023-04-28 at 16 57 09

rak-phillip commented 1 year ago

I think that it would be useful if we could expand our scale beyond 64px. For example, I recently needed add some padding in Rancher Desktop and ended using 6rem (84px) for padding.

image

edit: I've been working with this unofficial scale in Rancher Desktop, and it definitely exceeds xxxl 😅

image