Effects

13 tokens

Shadow, stroke width, and opacity. The shadow's geometry comes from the token file, but its color and opacity are defined per theme rather than aliased to a neutral, because a neutral alias resolves to a near-white in light mode, which is an invisible shadow on a light surface.

Shadow

Geometry comes from the token file; color and opacity are defined per theme, so the shadow stays dark in both modes instead of inverting.

x 0 · y 4 · blur 40 · spread -10
light#1B1B1F · 20%
dark#000000 · 48%

Stroke width

6 tokens

PreviewTokenCSS variableValueSourceDescription
11px stroke width. Base stroke-width scale used for borders, lines, diagrams, illustrations and other stroked elements.
1.51.5px stroke width. Base stroke-width scale used for borders, lines, diagrams, illustrations and other stroked elements.
22px stroke width. Base stroke-width scale used for borders, lines, diagrams, illustrations and other stroked elements.
2.52.5px stroke width. Base stroke-width scale used for borders, lines, diagrams, illustrations and other stroked elements.
33px stroke width. Base stroke-width scale used for borders, lines, diagrams, illustrations and other stroked elements.
0.50.5px stroke width. Base stroke-width scale used for borders, lines, diagrams, illustrations and other stroked elements.

Opacity

Authored 0 to 100 in Figma, emitted as a 0 to 1 CSS ratio.

PreviewTokenCSS variableValueSourceDescription
0Base opacity value of 0%. Fully transparent. Lean defaults to fully opaque colors and elements. Use reduced opacity only when functionally or visually necessary, such as for shadows, illustrations, or specific visual effects. Avoid using opacity as a default styling treatment.
20Base opacity value of 20%. Fully transparent. Lean defaults to fully opaque colors and elements. Use reduced opacity only when functionally or visually necessary, such as for shadows, illustrations, or specific visual effects. Avoid using opacity as a default styling treatment.
40Base opacity value of 40%. Fully transparent. Lean defaults to fully opaque colors and elements. Use reduced opacity only when functionally or visually necessary, such as for shadows, illustrations, or specific visual effects. Avoid using opacity as a default styling treatment.
60
80Base opacity value of 80%. Fully transparent. Lean defaults to fully opaque colors and elements. Use reduced opacity only when functionally or visually necessary, such as for shadows, illustrations, or specific visual effects. Avoid using opacity as a default styling treatment.
100Base opacity value of 100%. Fully transparent. Lean defaults to fully opaque colors and elements. Use reduced opacity only when functionally or visually necessary, such as for shadows, illustrations, or specific visual effects. Avoid using opacity as a default styling treatment.