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/theming): Disambiguate token names in theme overrides #29859

Merged
merged 1 commit into from
Oct 11, 2024

Conversation

mmalerba
Copy link
Contributor

Prior to this change a single key in the theme overrides map sometimes resulted in mutliple tokens being overridden. This change gives every token a unique name, by prefixing when necessary. The old ambiguous keys are still allowed for compatibility, but will now log a warning when they're used.

@mmalerba mmalerba added the target: minor This PR is targeted for the next minor release label Oct 10, 2024
@mmalerba mmalerba added this to the 19.0.0 milestone Oct 10, 2024
@mmalerba mmalerba requested a review from a team as a code owner October 10, 2024 22:07
@mmalerba mmalerba requested review from crisbeto and andrewseguin and removed request for a team October 10, 2024 22:07
@angular-robot angular-robot bot added the detected: feature PR contains a feature commit label Oct 10, 2024
@mmalerba mmalerba added the action: merge The PR is ready for merge by the caretaker label Oct 11, 2024
Prior to this change a single key in the theme overrides map sometimes
resulted in mutliple tokens being overridden. This change gives every
token a unique name, by prefixing when necessary. The old ambiguous keys
are still allowed for compatibility, but will now log a warning when
they're used.
@mmalerba mmalerba removed the request for review from andrewseguin October 11, 2024 17:08
@mmalerba mmalerba merged commit 371446a into angular:main Oct 11, 2024
20 of 22 checks passed
@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 11, 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 detected: feature PR contains a feature commit target: minor This PR is targeted for the next minor release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants