-
Notifications
You must be signed in to change notification settings - Fork 106
Open
Labels
design systemUpdates or issues to align components to the Red Hat Design System.Updates or issues to align components to the Red Hat Design System.needs dev discoveryThis component needs discoveryThis component needs discoveryneeds discussionneeds to be discussed outside the PRneeds to be discussed outside the PR
Description
We need clear definitions around when to use which one of these variables:
container-spacer: 16px,
container-padding: 16px,
content-spacer: 24px,There seems to be some mixnmatch in some components but my general understanding is:
- Container spacer is used to align UI items in components, like the chevron in an accordion header
- Container padding is used between the edges of containers and the content they hold
- Content spacer is used between sections within containers, like card header & card body, or band body & band footer.
Can anyone either tell me if these assumptions are right or wrong? And let's add that to the docs and clean up some of the outliers, like for example this is in the _extends.scss:
%container {
position: relative;
display: block;
width: 100%;
padding: #{pfe-var(container-spacer)};
}(and I think that should be container-padding). Thanks!
castastrophe
Metadata
Metadata
Labels
design systemUpdates or issues to align components to the Red Hat Design System.Updates or issues to align components to the Red Hat Design System.needs dev discoveryThis component needs discoveryThis component needs discoveryneeds discussionneeds to be discussed outside the PRneeds to be discussed outside the PR