Native Solid 2 fork. Original documentation and designs © WorkOS; historical posts retain their original context.
Shadows
Understanding the shadow styles used in your theme.
Shadows used in the components are derived from a 6-step scale. Refer to the source code for the actual values used to achieve these shadows.
1
2
3
4
5
6
Shadow tokens
Shadow tokens can be accessed using CSS variables. You can use these tokens to style your custom components, ensuring they are consistent with the rest of your theme.