You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Several sections of Foundation › Colors are unclear or misleading.
Content layers: layer-1 is for regular content (Card, Paper, Tabs), layer-2 is for overlays (Modal, Popover). They can have the same color in a light theme, but a dark theme will need them apart.
Action backgrounds: describe them as light tints used for flat Button hover/active and selected outline/flat Buttons, not "areas with actionable content".
Feedback vs state backgrounds: feedback backgrounds are for feedback surfaces (Alert, Modal, flat Button hover/active) and pair with feedback colors. State backgrounds are for components in a data state and pair with state colors; today that is FormField, more will follow as components get the state prop. Their values may match, e.g. valid and success, but they are separate tokens so states can be themed independently of feedback.
State colors: say they can color text on the basic background, as FormField does, with a contrast warning. Explain why they have no on-* tokens: they are not meant as fills. Relates to helpText color #712.
on-* tokens: explain them in each section that has them, not only in General Guidelines.
Activity
Clarify Foundation › Colors docs (#793)