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): warn when legacy theme is created #25625

Merged
merged 6 commits into from Sep 12, 2022

Conversation

andrewseguin
Copy link
Contributor

Warn users when creating a theme using the legacy API (passing palettes). Users should switch to the new theming config API. Legacy API support will be removed in v16. This warning can be converted to an error internally to make it easy to remove in v16

@andrewseguin andrewseguin added target: major This PR is targeted for the next major release target: patch This PR is targeted for the next patch release and removed target: patch This PR is targeted for the next patch release labels Sep 12, 2022
@andrewseguin andrewseguin added the action: merge The PR is ready for merge by the caretaker label Sep 12, 2022
@andrewseguin andrewseguin merged commit bf9f2ec into angular:main Sep 12, 2022
forsti0506 pushed a commit to forsti0506/components that referenced this pull request Sep 16, 2022
* fix(material/core): warn when legacy theme is created

* fix(material/core): update message

* fix(material/core): update message

* fix(material/core): update message

* fix(material/core): update message

* fix(material/core): update message
@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 13, 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

3 participants