0

Is it possible to apply secondary color to Angular Material Chips?

My own example on stackblitz will only display primary and accent colors, not secondary.

Material example doesn't use secondary

Angular Material Chips Overview

Alex Cooper
  • 475
  • 3
  • 7
  • 18

1 Answers1

2

Accent is meant to be the secondary option for color. Secondary doesn't exists on his own.

Gérôme Grignon
  • 3,859
  • 1
  • 6
  • 18
  • The terminology used isn't exactly clear. In the deeppurple-amber.css theme, amber is the secondary color, but to use that, we refer to it as "accent" "A secondary color provides more ways to accent and distinguish your product. Having a secondary color is optional, and should be applied sparingly to accent select parts of your UI." https://material.io/design/color/the-color-system.html#color-theme-creation So in other words, accent = secondary. – Alex Cooper Dec 04 '18 at 12:03