Box shadow tokens
Box shadow
Ex. | Token name | Value | Use case | |
---|---|---|---|---|
Click to copy
--rh-box-shadow-sm |
Click to copy
0 2px 4px 0 rgba(21, 21, 21, 0.2) |
Small box shadow |
var(--rh-box-shadow-sm, 0 2px 4px 0 rgba(21, 21, 21, 0.2))
https://ux.redhat.com/tokens/box-shadow/#rh-box-shadow-sm
|
|
Click to copy
--rh-box-shadow-md |
Click to copy
0 4px 6px 1px rgba(21, 21, 21, 0.25) |
Medium box shadow |
var(--rh-box-shadow-md, 0 4px 6px 1px rgba(21, 21, 21, 0.25))
https://ux.redhat.com/tokens/box-shadow/#rh-box-shadow-md
|
|
Click to copy
--rh-box-shadow-lg |
Click to copy
0 6px 8px 2px rgba(21, 21, 21, 0.3) |
Large box shadow |
var(--rh-box-shadow-lg, 0 6px 8px 2px rgba(21, 21, 21, 0.3))
https://ux.redhat.com/tokens/box-shadow/#rh-box-shadow-lg
|
|
Click to copy
--rh-box-shadow-xl |
Click to copy
0 8px 24px 3px rgba(21, 21, 21, 0.35) |
Extra large box shadow |
var(--rh-box-shadow-xl, 0 8px 24px 3px rgba(21, 21, 21, 0.35))
https://ux.redhat.com/tokens/box-shadow/#rh-box-shadow-xl
|
Other libraries
To learn more about our other libraries, visit this page.
Feedback
To give feedback about anything on this page, contact us.
Other libraries
To learn more about our other libraries, visit this page.