Skip to content
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

[Card Layout] Single section, single list #10316

Closed
4 tasks done
johanstromqvist opened this issue Sep 4, 2023 · 0 comments
Closed
4 tasks done

[Card Layout] Single section, single list #10316

johanstromqvist opened this issue Sep 4, 2023 · 0 comments
Assignees

Comments

@johanstromqvist
Copy link
Contributor

johanstromqvist commented Sep 4, 2023

Visual

image
Source

Builder needs

In order to design and implement this pattern consistently, builders need to:

  1. Understand basic spacing between heading and list
  2. Understand basic spacing between between list items
  3. Know when and why to make exceptions that accommodate common scenarios

Key information

  1. Default rule: Use space-2 (8px) between heading and list, and space-1 (4px) between list items
  2. Rule: space-1 (4px) is always reserved for the closest relationship. When list items have children, that relationship is between those children. In those cases the list items use a space-2 (8px) gap between peers.
  3. Rule: List items can have inner white space caused by padding or content such actions. In those cases, reduce the gap towards space-0 (0px) until the perceived gap is as close to the desired value.

Tasks

@johanstromqvist johanstromqvist changed the title [Card Layout] Card with single section and a single list, such as discounts/sales channels card [Card Layout] Single section, single list Sep 4, 2023
@johanstromqvist johanstromqvist self-assigned this Sep 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant