Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(material/core): remove typography styles from core mixin #25723

Merged
merged 3 commits into from Sep 29, 2022

Conversation

andrewseguin
Copy link
Contributor

All internal clients include typography in their theme files and this can be safely removed. This assumes the ng update script will be updated to add mat.all-component-typographies before all mat.core calls.

The parameter must remain until all cases internally no longer pass the param as an argument

BREAKING CHANGE:

  • core() mixin no longer provides typography styles. Applications must call component typography mixins to apply typography styles, or call theme mixins with a theme config containing typography.

@andrewseguin andrewseguin added the target: major This PR is targeted for the next major release label Sep 28, 2022

// Mixin that renders all of the core styles that are not theme-dependent.
// TODO: Remove the `$exclude-typography` parameter once `ng update` automatically migrates
// client theme applications to manually include the typography mixin.
// TODO: Remove the `$exclude-typography` parameter after all internal clients migrated
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove all parameters right?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah yes!

@andrewseguin andrewseguin added the action: merge The PR is ready for merge by the caretaker label Sep 29, 2022
@andrewseguin andrewseguin merged commit 3b769b3 into angular:main Sep 29, 2022
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Oct 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker target: major This PR is targeted for the next major release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants