Motion
Motion in the system is small and quick: colour changes (ease.standard), press feedback
(ease.out), and on-screen movement such as Button’s opt-in animateText roll (ease.in-out). New
motion follows the animate skill in this repository and uses these tokens.
Duration
| Token | CSS variable | Value |
|---|---|---|
| duration.fast Colour and state changes | --duration-fast | 150ms |
| duration.regular Small on-screen movement | --duration-regular | 250ms |
Easing
| Token | CSS variable | Value |
|---|---|---|
| ease.standard The CSS ease curve: hover and colour changes | --ease-standard | 0.25, 0.1, 0.25, 1 |
| ease.out Strong ease-out: press feedback and entrances | --ease-out | 0.23, 1, 0.32, 1 |
| ease.in-out Strong ease-in-out: movement on screen | --ease-in-out | 0.77, 0, 0.175, 1 |
Opacity
| Token | CSS variable | Value |
|---|---|---|
| opacity.disabled | --opacity-disabled | 0.5 |