google / google/material-design-lite

The accent color should be used for interactive elements

Open
#4,426 0 comments 0 reactions 0 assignees View on GitHub
MD Alignment
Dominant language
HTML
Stars
32.2k
Forks
4.9k
PR merge metrics
No merged PRs in 30d

Description

In the Material Design Style guide the accent color has the following definition:

The accent should be used for the floating action button and interactive elements, such as:
- Text fields and cursors
- Text selection
- Progress bars
- Selection controls, buttons, and sliders
- Links

In MDL, it appears that the primary color is used for this. The switch color,
for example, is defined with the following value:
`$ switch-color: unquote ("rgb (# {$ color-primary})") !default;`

![style_color_uiapplication_accent2](https://cloud.githubusercontent.com/assets/10088486/15986940/513a9500-3017-11e6-8ee6-590ec6d18c34.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.