-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(material/schematics): add migration to switch to the new theming…
… API (#22304) Adds an `ng-generate` schematic that will switch over existing stylesheets to the new `@use`-based API. Furthermore, the migration code is set up in a way that should allow us to run it in g3 if necessary.
- Loading branch information
Showing
7 changed files
with
884 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
@forward './overlay/overlay' show overlay; | ||
@forward './overlay/overlay' show overlay, $z-index-overlay-container, $z-index-overlay, | ||
$z-index-overlay-backdrop, $dark-backdrop-background; | ||
@forward './a11y/a11y' show a11y-visually-hidden, high-contrast; | ||
@forward './text-field/text-field' show text-field-autosize, text-field-autofill, | ||
text-field-autofill-color; | ||
text-field-autofill-color, | ||
// `text-field` is deprecated, but we have to export it | ||
// here in order for the theming API schematic to work. | ||
text-field; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.