Shadows / Elevation #63757
Labels
Design System
Issues related to the system of combining components according to best practices.
Needs Design Feedback
Needs general design feedback.
Needs Design
Needs design efforts.
Related to #63703
Note
Elevation refers to the vertical distance between two surfaces measured along the z-axis.
As the site editing experience transitions from the Editor to new UIs, there is a need for a more clearly defined elevation scale and shadow styles.
In _variables.scss we find values for modals and popovers only:
gutenberg/packages/base-styles/_variables.scss
Lines 72 to 73 in dc93da0
New UIs now exist with custom shadow values, such as the content/preview frame and the Command Palette. The existing variables do not sufficiently cover these additional use cases. Elements like Snackbars and Tooltips may also require reconsideration.
Systematizing elevation will help create a cohesive experience and avoiding maintenance issues in the future.
Proposed elevation scale
Does this scale meet the needs of the novel UIs, and does its application / mapping of components make sense? Let's discuss and explore further in this issue.
Elevation
componentThe text was updated successfully, but these errors were encountered: