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): custom system-level variable prefix not used in some mixins #29513

Merged
merged 1 commit into from
Jul 30, 2024

Conversation

crisbeto
Copy link
Member

Fixes that the system-level-colors and system-level-typography mixins weren't using the system-variables-prefix passed in by the user.

Note: a bit of a gotcha here is that we need to store two separate prefixes, because in theory the user can pass different prefixes into color and typography.

Fixes #29504.

@crisbeto crisbeto added the target: patch This PR is targeted for the next patch release label Jul 30, 2024
@crisbeto crisbeto requested a review from a team as a code owner July 30, 2024 07:01
@crisbeto crisbeto requested review from mmalerba and andrewseguin and removed request for a team July 30, 2024 07:01
@crisbeto crisbeto force-pushed the 29504/system-variables-prefix branch from e10b77a to d6f8e67 Compare July 30, 2024 09:38
@crisbeto crisbeto requested a review from amysorto July 30, 2024 13:18
…ome mixins

Fixes that the `system-level-colors` and `system-level-typography` mixins weren't using the `system-variables-prefix` passed in by the user.

Note: a bit of a gotcha here is that we need to store two separate prefixes, because in theory the user can pass different prefixes into `color` and `typography`.

Fixes angular#29504.
@crisbeto crisbeto force-pushed the 29504/system-variables-prefix branch from d6f8e67 to 2638330 Compare July 30, 2024 13:20
Copy link
Contributor

@wagnermaciel wagnermaciel left a comment

Choose a reason for hiding this comment

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

LGTM

@crisbeto crisbeto added the action: merge The PR is ready for merge by the caretaker label Jul 30, 2024
@crisbeto crisbeto merged commit 6d70114 into angular:main Jul 30, 2024
22 of 24 checks passed
crisbeto added a commit that referenced this pull request Jul 30, 2024
…ome mixins (#29513)

Fixes that the `system-level-colors` and `system-level-typography` mixins weren't using the `system-variables-prefix` passed in by the user.

Note: a bit of a gotcha here is that we need to store two separate prefixes, because in theory the user can pass different prefixes into `color` and `typography`.

Fixes #29504.

(cherry picked from commit 6d70114)
@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 Aug 30, 2024
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: patch This PR is targeted for the next patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Parameter "system-variables-prefix" is not used by "mat.system-level-colors" mixin
2 participants