Skip to content

Instantly share code, notes, and snippets.

View c-kunz's full-sized avatar

Christian Kunz c-kunz

  • ProSeS BDE GmbH @QUIPSY
  • Pforzheim, Germany
View GitHub Profile
@c-kunz
c-kunz / Angular Material Theming.md
Last active September 13, 2021 18:27
Advanced guide for customizing Angular Material.

Angular Material Theming

This document intends to be a guide for theme authors on how to create a full Angular Material Theme color configuration (from scratch).

Why this document exists

Unfortunately, documentation is rather lacking when going beyond the simple example provided by Angular Material.

While primary / accent / warn colors are easily comprehendable, and despite Angular Material publicly advertising that there is more than that to a theme (e. g. foreground palette - colors of text and icons), it fails to explain how to change these additional palettes and what they consist of.