Commit 9905f7a
committed
docs(material/theming): rewrite theming guide for
This change completely rewrites the theming guide to be more complete, correct, and concise.
Summary of changes:
* Explain the concepts of palettes, hues, and themes.
* Ensure all content is conceptual and not task-based.
* Use the new Sass `@use` API introduced in angular#22173
* Document usage of the theming system with shadow dom
* Document the fact that CSS overrides are strongly discouraged
* Be more explicit about which palettes we provide
* Consolidate on a single approach to including theme CSS in an app (assuming Angular CLI)
I will send follow-up PRs for the typography, theming-your-components, and customizing-component-styles guides.@use
1 parent b027279 commit 9905f7a
2 files changed
+312
-237
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
0 commit comments