Disabled Tokens
Why?
Allow easy and consistent application of disabled states to components.
Whilst at first glance it might seem that the disabled state of a token belongs with the Behavioural token layer, this is not so. This is because the disabled colour is linked to the physical layer, where Behavioural tokens exist only as uncoupled values.
Container Tokens
Name
Card
Primary Control
Sentiment Control
Container
Active
Background
Layer/Background/PanelLayer/Background/PrimaryLayer/Background/Sentiment Foreground
Layer/Foreground/PanelLayer/Foreground/PrimaryLayer/Foreground/Sentiment Border
Layer/Border/PanelLayer/Border/PrimaryLayer/Border/SentimentContainer
Disabled
Background
TransparentSemantics/Disabled/BackgroundSemantics/Disabled/Background Foreground
Semantics/Disabled/ForegroundSemantics/Disabled/ForegroundSemantics/Disabled/Foreground Border
Semantics/Disabled/BorderSemantics/Disabled/BorderSemantics/Disabled/BorderNote how the 'Card' container now has a transparent background when disabled, where the others have filled backgrounds.
Our top-level container tokens (the ones actually accessible by consumers) now look like this:
Container State
Name
Active
Disabled
Container
Background
Container/Active/BackgroundContainer/Disabled/Background Foreground
Container/Active/ForegroundContainer/Disabled/Foreground Border
Container/Active/BorderContainer/Disabled/Border