@@ -193,6 +193,7 @@ $my-theme: mat.define-light-theme((
193
193
primary: $my-primary ,
194
194
accent: $my-accent ,
195
195
),
196
+ typography: mat .define-typography-config (),
196
197
density: 0 ,
197
198
));
198
199
@@ -536,14 +537,14 @@ the CSS in each shadow root, or by using [Constructable Stylesheets][constructab
536
537
537
538
## User preference media queries
538
539
539
- Angular Material does not apply styles based on user preference media queries, such as
540
+ Angular Material does not apply styles based on user preference media queries, such as
540
541
` prefers-color-scheme ` or ` prefers-contrast ` . Instead, Angular Material's Sass mixins give you the
541
542
flexibility to apply theme styles to based on the conditions that make the most sense for your
542
543
users. This may mean using media queries directly or reading a saved user preference.
543
544
544
545
## Style customization outside the theming system
545
546
546
- Angular Material supports customizing color, typography, and density as outlined in this document.
547
- Angular strongly discourages, and does not directly support, overriding component CSS outside the
548
- theming APIs described above. Component DOM structure and CSS classes are considered private
547
+ Angular Material supports customizing color, typography, and density as outlined in this document.
548
+ Angular strongly discourages, and does not directly support, overriding component CSS outside the
549
+ theming APIs described above. Component DOM structure and CSS classes are considered private
549
550
implementation details that may change at any time.
0 commit comments