Skip to content

Commit 9905f7a

Browse files
committed
docs(material/theming): rewrite theming guide for @use
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 #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.
1 parent b027279 commit 9905f7a

File tree

2 files changed

+312
-237
lines changed

2 files changed

+312
-237
lines changed

guides/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ The `ng add` command will install Angular Material, the [Component Dev Kit (CDK)
2020

2121
1. Choose a prebuilt theme name, or "custom" for a custom theme:
2222

23-
You can choose from [prebuilt material design themes](https://material.angular.io/guide/theming#using-a-pre-built-theme) or set up an extensible [custom theme](https://material.angular.io/guide/theming#defining-a-custom-theme).
23+
You can choose from [prebuilt material design themes](https://material.angular.io/guide/theming#using-a-pre-built-theme) or set up an extensible [custom theme](https://material.angular.io/guide/theming#defining-a-theme).
2424

2525
2. Set up global Angular Material typography styles:
2626

0 commit comments

Comments
 (0)