Skip to content

Clarify Foundation › Colors docs #793

In review

Description

@adamkudrna

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

  1. added
    documentation
    on Nov 23, 2026
  2. moved this to 🔖 To do in The Boardon Nov 23, 2026
  3. moved this from 🔖 To do to 👀 In review in The Boardon Nov 30, 2026
  4. self-assigned this
    on Nov 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

documentation

Type

No type

Projects

  • Status
    👀 In review

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions