Skip to content

fix(material/core): custom system-level variable prefix not used in some mixins#29513

Merged
crisbeto merged 1 commit intoangular:mainfrom
crisbeto:29504/system-variables-prefix
Jul 30, 2024
Merged

fix(material/core): custom system-level variable prefix not used in some mixins#29513
crisbeto merged 1 commit intoangular:mainfrom
crisbeto:29504/system-variables-prefix

Conversation

@crisbeto
Copy link
Copy Markdown
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 andrewseguin and mmalerba 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
Copy Markdown
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
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
Copy Markdown

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