Content hierarchy specifications
Quartz content hierarchy model is supported by Figma templates and utility classes for the web platform. This page specifies the design tokens used to build them. Use these specifications to add support for additional platforms.
Layers
See the content hierarchy page for a conceptual introduction to the vertical hierarchy of layers.
The following specifications list the design tokens that must be used to implement layer styles.
main layer
- Background color:
main-background
- Padding:
main-padding-vertical
andmain-padding-horizontal
- Spacing:
main-gap-children-related
andmain-gap-children-related
panel layer
- Background color (panel):
panel-background
- Elevation:
panel-elevation
- Padding:
panel-padding
- Spacing:
panel-gap-children-related
andpanel-gap-children-unrelated
- Corner radius:
panel-border-radius
navigation layer
- Background color (panel and toolbar):
navigation-background
- Elevation:
navigation-elevation
- Padding:
navigation-padding
- Spacing:
navigation-gap-children-related
andnavigation-gap-children-unrelated
- Corner radius:
navigation-border-radius
popup layer
- Background color (dialog box and notifications):
popup-background
- Overlay:
popup-overlay-background
,popup-overlay-opacity
andpopup-overlay-blur
- Elevation:
popup-elevation
- Padding:
popup-padding
- Spacing:
popup-gap-children-related
andpopup-gap-children-unrelated
- Corner radius:
popup-border-radius
accessory layer
- Background color (floating menu):
accessory-background
- Elevation:
accessory-elevation
- Padding:
accessory-padding
- Spacing:
accessory-gap-children-related
,accessory-gap-children-unrelated
andaccessory-gap-floating
(space between the triggering object and the menu) - Corner radius:
accessory-border-radius
Sections/Subsections
TODO