Shadow

Los tokens de sombra de Nimbus se basan en niveles de distancia desde el fondo, cada uno de los cuales está vinculado a un conjunto diferente de propiedades para resaltar esa característica.

Reference

Token name

Token usage

Role

shadow-light-level-0
0

Inicial level without shadow. Used for background or elements that do not need to be distinguished from the background.

shadow-light-level-1
1

Shadow level for elements that are floating at minimal distance from the background. Can be used in interactive elements.

shadow-light-level-2
2

Shadow level for elements that are floating at small distance from the background. Can be used in cards.

shadow-light-level-3
3

Shadow level for elements that are floating at medium distance from the background. Can be used in popovers.

shadow-light-level-4
4

Shadow for elements that are floating at a large distance from the background. Can be used in modals.

shadow-light-level-5
5

Shadow level for elements that are floating at maximum distance from the background. Can be used in side modals.