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

fix(material/core): add typography hierarchy to prebuilt #25746

Merged
merged 1 commit into from Oct 3, 2022

Conversation

andrewseguin
Copy link
Contributor

@andrewseguin andrewseguin commented Oct 3, 2022

Add typography hierarchy back to the prebuilt themes.

They used to rely on mat.core calling all-component-typographies, which is equal to all-component-themes (with typography in the config) + typography-hierarchy.

@andrewseguin andrewseguin added the target: major This PR is targeted for the next major release label Oct 3, 2022
@@ -23,3 +24,5 @@ $theme: theming.define-dark-theme((

// Include all theme styles for the components.
@include all-theme.all-legacy-component-themes($theme);

@include typography.typography-hierarchy($theme);
Copy link
Member

Choose a reason for hiding this comment

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

We can land the changes as they are now, but for a follow-up PR: maybe we should bake this into the core-typography mixin?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah possibly - it seems weird to have to include this separately. I would have expected our theme files to be sufficient with an "all-component-themes" mixin.

@andrewseguin andrewseguin added the action: merge The PR is ready for merge by the caretaker label Oct 3, 2022
@andrewseguin andrewseguin merged commit 9dbc4fd into angular:main Oct 3, 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 Nov 3, 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