You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
main - 9c3af28 feat(material/schematics): Switch custom theme schematic to use theme mixin instead of define-theme and add high contrast override mixins (#29642)
<p>Learn more about this schematic in its <ahref="https://github.com/angular/components/blob/main/src/material/schematics/ng-generate/m3-theme/README.md">documentation</a>.</p>
150
+
<p>Learn more about this schematic in its <ahref="https://github.com/angular/components/blob/main/src/material/schematics/ng-generate/theme-color/README.md">documentation</a>.</p>
<p>This schematic integrates with <ahref="https://github.com/material-foundation/material-color-utilities">Material Color Utilities</a> to build a theme based on a generated set of palettes based on a single color. Optionally you can provide additional custom colors for the secondary, tertiary, and neutral palettes.</p>
207
-
<p>The output of the schematic is a new Sass file that exports a theme or themes (if generating both a light and dark theme) that can be provided to component theme mixins.</p>
206
+
<p>This schematic integrates with <ahref="https://github.com/material-foundation/material-color-utilities">Material Color Utilities</a> to build palettes based on a single color. Optionally you can provide
207
+
additional custom colors for the secondary, tertiary, and neutral palettes.</p>
208
+
<p>The output of the schematic is a new Sass file that exports the palettes that can be provided to
209
+
a theme definition.</p>
208
210
<pre><codeclass="language-scss"><spanclass="hljs-keyword">@use</span><spanclass="hljs-string">'@angular/material'</span> as mat;
<p>Learn more about this schematic in its <ahref="https://github.com/angular/components/blob/main/src/material/schematics/ng-generate/m3-theme/README.md">documentation</a>.</p>
224
+
<p>You can also optionally generate high contrast override mixins for your custom theme that allows for
225
+
a better accessibility experience. Learn more about this schematic in its <ahref="https://github.com/angular/components/blob/main/src/material/schematics/ng-generate/theme-color/README.md">documentation</a>.</p>
220
226
<!-- TODO(mmalerba): Illustrate palettes with example. -->
0 commit comments