Skip to content

Commit

Permalink
[M3][Color] Updated contrast documentation
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 547823926
  • Loading branch information
Material Design Team authored and paulfthomas committed Jul 17, 2023
1 parent 0d80c04 commit 1d3b8e1
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/theming/Color.md
Expand Up @@ -698,6 +698,16 @@ between two colors creates visual contrast. A greater difference creates higher
contrast. Color contrast control allows users to adjust their UI contrast levels
in the system so they can comfortably see and use digital experiences.

##### *Use Contrast Control - Dynamic*

You will get contrast control for free if you already use dynamic colors.
Material color roles enforce contrast through tone while maintaining hierarchy
and visual relationships. The color value of a Material color role (e.g.
primaryContainer) can systematically adjust in tone to achieve sufficient
contrast.

**Important:** Please note that this feature is only available for U+.

##### *Use Contrast Control - non-Dynamic*

If you are not using dynamic colors and would like to use contrast control for
Expand Down

0 comments on commit 1d3b8e1

Please sign in to comment.