States are visual representations used to communicate the status of a component or interactive element.
Note: ‘Component’ used below implies ‘interactive component’.
A component is in default state when it is not interacted with.
Consider it as 0 for reference point.
Default stateA component is in default state when it is not interacted with.
+1 (slightly darker) for background color and content such as text (wherever applicable).
Hover stateA component is in default state when it is not interacted with.
+2 (moderately darker) for background color.
Active stateA component is in default state when it is not interacted with.
Focus ring of 3px border, outside.
Focus stateA component is in default state when it is not interacted with.
-2 (moderately lighter) for background.
Disabled stateA component is in default state when it is not interacted with.
-2 (moderately lighter) for background and spinner in place of content.
Loading stateA component is in default state when it is not interacted with.
Selected stateA component is in default state when it is not interacted with.
Activated stateA component is in default state when it is not interacted with.
Dragged state= Updated from foundation because the color does not have more lighter/darker variations or there is no sufficient contrast.