-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add some layout primitives #779
Comments
Also: a box component, that applies some standard padding around its content, good combined with |
planktonic
added a commit
that referenced
this issue
May 22, 2023
7 tasks
planktonic
added a commit
that referenced
this issue
May 23, 2023
7 tasks
planktonic
added a commit
that referenced
this issue
Jun 7, 2023
planktonic
added a commit
that referenced
this issue
Jun 7, 2023
planktonic
added a commit
that referenced
this issue
Jul 20, 2023
feat: New switcher layout primitive A new layout component at `atoms/switcher`, that lays out its children in a horizontal row with consistent spacing between children. The layout switches to a vertical stack once the width of the component passes below a threshold, or the number of children goes over a limit.. `content-padding` design tokens are now using the same naming scheme as the base size tokens (`l1`, `s1` etc) #779
planktonic
added a commit
that referenced
this issue
Dec 11, 2023
planktonic
added a commit
that referenced
this issue
Dec 11, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Utility classes can be used to create some complex layouts, but it’d be great to have some commonly-used layouts encapsulated in CSS classes. That would avoid having to recreate them in every codebase and template/component system.
Some possibilities listed below. Probably these would be best implemented using some global spacing and line-height variables — those can be used to ensure everything is spaced consistently.
The text was updated successfully, but these errors were encountered: