Radius and elevation
Ce contenu n’est pas encore disponible dans votre langue.
Radius
Section titled “Radius”6 to 8 for inputs and buttons, 10 for cards inside the app, 14 to 16 for frames and marketing cards, full only for status chips. The Record square stays sharp. Never mix two radii on nested elements without inner = outer − padding.
| Token | CSS variable | Value |
|---|---|---|
ui. | - | 4px |
ui. | - | 6px |
ui. | - | 8px |
ui. | - | 10px |
ui. | - | 14px |
ui. | - | 16px |
ui. | - | 9999px |
Elevation
Section titled “Elevation”Structure is a 1 px line. A shadow means a layer floats above the page.
- A card is bordered or shadowed, not both.
- Floating layers (popover, menu, tooltip at e2; dialog, sheet, toast at e3) carry a 1 px border and their shadow. Forced-colors removes shadows, so the border is required.
- In night there is no shadow on cards: a lighter surface and a line. e2 is the maximum.
| Token | Paper | Night |
|---|---|---|
ui. | 0px 1px 0px 0px rgba(13,16,21,0.04), 0px 12px 32px -12px rgba(13,16,21,0.14) | 0px 0px 0px 0px rgba(0,0,0,0) |
ui. | 0px 4px 12px 0px rgba(13,16,21,0.08), 0px 1px 3px 0px rgba(13,16,21,0.06) | 0px 24px 48px -16px rgba(0,0,0,0.6) |
ui. | 0px 12px 32px 0px rgba(13,16,21,0.12), 0px 2px 6px 0px rgba(13,16,21,0.06) | 0px 24px 48px -16px rgba(0,0,0,0.6) |
Layers
Section titled “Layers”No other z- value is allowed. Stack depth is two at most.
| Token | CSS variable | Value |
|---|---|---|
ui. | - | 10 |
ui. | - | 40 |
ui. | - | 50 |
ui. | - | 60 |
ui. | - | 70 |
ui. | - | 80 |
ui. | - | 90 |
- Responsable
- Okrado founders
- Mis à jour le
- À revoir avant le