feat(material/icon): add material symbol classes automatically - #33750
Merged
Conversation
crisbeto
force-pushed
the
material-symbols-classes
branch
from
August 31, 2026 08:05
d734148 to
0ada498
Compare
crisbeto
force-pushed
the
material-symbols-classes
branch
from
August 31, 2026 12:03
0ada498 to
ba067f5
Compare
We add the class for the Material Icons font set by default which has been deprecated for a while in favor of Material Symbols. These changes add some logic to detect if Material Symbols are loaded, and if they are, to add the relevant class automatically. Note that if both the legacy and non-legacy fonts are present, we fall back to the old behavior in order to avoid breaking apps that load both for whatever reason. Related to angular#24845.
crisbeto
force-pushed
the
material-symbols-classes
branch
from
August 31, 2026 12:15
ba067f5 to
a158f4f
Compare
crisbeto
marked this pull request as ready for review
August 31, 2026 12:35
andrewseguin
approved these changes
Aug 31, 2026
Member
Author
|
This PR was merged into the repository. The changes were merged into the following branches:
|
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note: there's some follow-up work to be done like changing the schematics. I want to run this first through our internal tests to see how breaking it might be.
We add the class for the Material Icons font set by default which has been deprecated for a while in favor of Material Symbols. These changes add some logic to detect if Material Symbols are loaded, and if they are, to add the relevant class automatically.
Note that if both the legacy and non-legacy fonts are present, we fall back to the old behavior in order to avoid breaking apps that load both for whatever reason.
Related to #24845.