Elevation

Elevation is the relative distance between two surfaces along the z-axis. D-system indicates elevation through the use of background colours: when the degree of elevation between surfaces isn't crucial, and shadows: when the degree of elevation between surfaces needs to be clear.

Good elevation affordance is helpful in setting user expectations in terms of how elements behave during scrolling, or how elements sit on a page.

See the style tab for more

See also layering/backdrop in color

Elevation through shadow

Shadows can also be used to indicate elevation. Lower elements will have a less diffuse, more defined shadow (or no shadow at all), while higher elements will have larger and more diffuse shadows.

The shadow styles in D-system are a combination of 2 shadows. This is done to create a keyline effect without relying on borders around the element as using a border can sometimes make the element look blurry against certain background colours.

See also layering/backdrop in color

Normal Y Axis:

Sample
X
Y
Blur
Size
Opacity
Color
Name (token)
0
0
2
0
6
4
0
0
12%
12%
comp/box_shadow
comp/box_shadow
Shadows/Lifting
0
0
4
0
8
4
0
0
12%
12%
comp/box_shadow
comp/box_shadow
Shadows/Floating
0
0
4
0
16
4
0
0
12%
12%
comp/box_shadow
comp/box_shadow
Shadows/Flying

Inverted Y Axis:

Sample
X
Y
Blur
Size
Opacity
Color
Name (token)
0
0
-2
0
6
4
0
0
12%
12%
comp/box_shadow
comp/box_shadow
Shadows/Lifting -Inverted
0
0
-4
0
8
4
0
0
12%
12%
comp/box_shadow
comp/box_shadow
Shadows/Floating -Inverted
0
0
-4
0
16
4
0
0
12%
12%
comp/box_shadow
comp/box_shadow
Shadows/Flying -Inverted

Elevation through colours

Colour is often used to group elements and create visual content sections. When the degree of elevation between elements does not need to be clear at first sight, colour can be used to illustrate which elements overlap during scroll.

See also layering/backdrop in color

Elevation through backdrop color system

Colors in the neutral gray palette are layered on top of each other to create depth and spatial associations. The layering model defines the logic of how colors stack on top of each other in a UI when using the Depot themes.

In the light themes, layers become one step darker with each added layer and reverse.

In the dark themes, layers become one step lighter with each added layer and reverse.

Light backdrop colors for texts and links

Title
Subtitle
Body
Link
Link inherit
grey_140
grey_120
grey_110
blue_110
grey_110
#192325
#3F4B4E
#5B6466
#0044cd
#5B6466

Dark backdrop colors for texts and links

Title
Subtitle
Body
Link
Link inherit
grey_50
grey_80
grey_90
white
grey_90
#FAFCFC
#E7EBEB
#D0D4D5
#000000
#D0D4D5

Colors are layered on top of each other to create depth and spatial associations. The layering model defines the logic of how colors stack on top of each other in a UI when using the Depot themes.

Backdrop
Title
Subtitle
Text
Link
Link inherit
basic light

Base

Subtle
Body
link
Body
white
AAA 16.05
AAA 9.02
AAA 16.05
AAA 7.75
AAA 16.05
Basic grey lighter

Base

Subtle
Body
link
Body
grey_70
AAA 14.54
AAA 8.17
AA 5.50
AAA 7.02
AA 5.50
Basic grey light

Base

Subtle
Body
link
Body
grey_80
AAA 13.36
AAA 7.51
AA 5.05
AA 6.45
AA 5.05
primary_lighter

Base

Subtle
Body
link
Body
mint_70
AAA 14.27
AAA 8.02
AA 5.40
AA 6.89
AA 5.40
primary_light

Base

Subtle
Body
link
Body
mint_80
AAA 13.39
AAA 7.53
AA 5.06
AA 6.47
AA 5.06
secondary_lighter

Base

Subtle
Body
link
Body
indigo_70
AAA 14.38
AAA 8.08
AA 5.44
AA 6.95
AA 5.44
secondary_light

Base

Subtle
Body
link
Body
indigo_80
AAA 13.39
AAA 7.52
AA 5.06
AA 6.47
AA 5.06
tertiary_lighter

Base

Subtle
Body
link
Body
pink_70
AAA 14.41
AAA 8.10
AA 5.45
AA 6.96
AA 5.45
tertiary_light

Base

Subtle
Body
link
Body
pink_80
AAA 13.45
AAA 7.56
AA 5.09
AA 6.50
AA 5.09
backdrop_one_lighter

Base

Subtle
Body
link
Body
red_70
AAA 14.26
AAA 8.02
AA 5.39
AA 6.89
AA 5.39
backdrop_one_light

Base

Subtle
Body
link
Body
red_80
AAA 13.35
AAA 7.51
AA 5.05
AA 6.45
AA 5.05
backdrop_two_lighter

Base

Subtle
Body
link
Body
yellow_70
AAA 14.77
AAA 8.30
AA 5.59
AAA 7.13
AA 5.59
backdrop_two_light

Base

Subtle
Body
link
Body
yellow_80
AAA 14.57
AAA 8.19
AA 5.51
AAA 7.04
AA 5.51
backdrop_three_lighter

Base

Subtle
Body
link
Body
blue_70
AAA 14.27
AAA 8.02
AA 5.40
AA 6.90
AA 5.40
backdrop_three_light

Base

Subtle
Body
link
Body
blue_80
AAA 13.35
AAA 7.50
AA 5.05
AA 6.45
AA 5.05
backdrop_four_lighter

Base

Subtle
Body
link
Body
green_70
AAA 14.51
AAA 8.15
AA 5.49
AA 6.90
AA 5.40
backdrop_four_light

Base

Subtle
Body
link
Body
green_80
AAA 13.41
AAA 7.54
AA 5.07
AA 6.48
AA 5.07
Backdrop
Title
Subtitle
Text
Link
Link inherit
basic dark

Base

Subtle
Body
link
Body
black
AAA 20.39
AAA 17.48
AAA 14.06
AAA 21.00
AAA 14.06
basic darker

Base

Subtle
Body
link
Body
grey_130
AAA 11.67
AAA 10.00
AAA 8.05
AAA 12.02
AAA 8.05
basic darkest

Base

Subtle
Body
link
Body
grey_140
AAA 15.59
AAA 13.36
AAA 10.75
AAA 16.05
AAA 10.75
primary darker

Base

Subtle
Body
link
Body
mint_130
AAA 14.70
AAA 12.60
AAA 10.14
AAA 15.14
AAA 10.14
primary darkest

Base

Subtle
Body
link
Body
mint_140
AAA 14.70
AAA 12.60
AAA 10.14
AAA 15.14
AAA 10.14
secondary darker

Base

Subtle
Body
link
Body
indigo_130
AAA 11.68
AAA 10.01
AAA 8.05
AAA 12.02
AAA 8.05
secondary darkest

Base

Subtle
Body
link
Body
indigo_140
AAA 15.62
AAA 13.39
AAA 10.77
AAA 16.09
AAA 10.77
tertiary darker

Base

Subtle
Body
link
Body
pink_130
AAA 12.63
AAA 10.83
AAA 8.71
AAA 13.01
AAA 8.71
tertiary darkest

Base

Subtle
Body
link
Body
pink_140
AAA 15.66
AAA 13.42
AAA 10.80
AAA 16.13
AAA 10.80
one darker

Base

Subtle
Body
link
Body
red_130
AAA 8.79
AAA 7.53
AAA 6.06
AAA 9.05
AAA 6.06
one darkest

Base

Subtle
Body
link
Body
red_140
AAA 11.70
AAA 10.03
AAA 8.07
AAA 12.05
AAA 8.07
two darker

Base

Subtle
Body
link
Body
yellow_130
AAA 5.85
AA 5.02
Fail 4.03
AA 6.03
Fail 4.03
two darkest

Base

Subtle
Body
link
Body
yellow_140
AAA 11.78
AAA 10.09
AAA 8.12
AAA 12.13
AAA 8.12
three darker

Base

Subtle
Body
link
Body
blue_130
AAA 13.64
AAA 11.69
AAA 9.40
AAA 14.04
AAA 9.40
three darkest

Base

Subtle
Body
link
Body
blue_140
AAA 16.66
AAA 14.28
AAA 11.48
AAA 17.15
AAA 11.48
four darker

Base

Subtle
Body
link
Body
green_130
AAA 12.71
AAA 10.89
AAA 8.76
AAA 13.08
AAA 8.76
four darkest

Base

Subtle
Body
link
Body
green_140
AAA 14.67
AAA 12.57
AAA 10.11
AAA 15.10
AAA 10.11

Elevation through modals

Modals overlay the top of their parent page but they have their own context. Think of a modal as a reset of the z stack and start from 0 when mapping out where each child element goes.

See also layering/backdrop in color