Shadow

Os tokens de sombra do Nimbus se baseiam em níveis de distância do background, cada um deles está vinculado a um conjunto de propriedades diferentes para evidenciar essa 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.