Shadow
The token can be found in shadow.json
.
Core Token
Opacity
Token | |
---|---|
--ks-box-shadow-opacity-control | |
--ks-box-shadow-opacity-control-hover | |
--ks-box-shadow-opacity-card | |
--ks-box-shadow-opacity-card-hover | |
--ks-box-shadow-opacity-surface | |
--ks-box-shadow-opacity-surface-hover |
Color
The color
token is an rgba value that features opacity
as the alpha
value.
Token | |
---|---|
--ks-box-shadow-color-control | |
--ks-box-shadow-color-control-hover | |
--ks-box-shadow-color-card | |
--ks-box-shadow-color-card-hover | |
--ks-box-shadow-color-surface | |
--ks-box-shadow-color-surface-hover |
Semantic Token
Shadow Types
Every shadow type also has a hover concept.
Control
--ks-box-shadow-control
--ks-box-shadow-control-hover
For small horizontally stretched elements.
Card
--ks-box-shadow-card
--ks-box-shadow-card-hover
For medium sized vertically stretched elements.
Surface
--ks-box-shadow-surface
--ks-box-shadow-surface-hover
For large screen covering elements.