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-experimental/theming): Make color API back-compat styles available #28526

Merged
merged 1 commit into from
Feb 2, 2024

Conversation

mmalerba
Copy link
Contributor

@mmalerba mmalerba commented Feb 2, 2024

Also changes our back-compat styles to make chips and options with .mat-primary secondary colored rather than primary. This sounds odd, but the spec really treats "secondary" as an extended set of primary hues, and these components look much better when defaulted to secondary.

A user who really does want the primary color can still get it by calling e.g. @include mat.chips-theme($theme, $color-variant: primary), this only affects what our back-compat mixin outputs (@include matx.color-variants-back-compat($theme)).

@mmalerba mmalerba added the target: minor This PR is targeted for the next minor release label Feb 2, 2024
@mmalerba mmalerba changed the title fix(material-experimental/theming): Make color API back-cmpat styles available fix(material-experimental/theming): Make color API back-compat styles available Feb 2, 2024
@mmalerba mmalerba added the action: merge The PR is ready for merge by the caretaker label Feb 2, 2024
@angular-robot angular-robot bot requested a review from crisbeto February 2, 2024 21:09
@mmalerba mmalerba removed the request for review from crisbeto February 2, 2024 21:15
@angular-robot angular-robot bot requested a review from crisbeto February 2, 2024 21:17
@mmalerba mmalerba removed the request for review from crisbeto February 2, 2024 21:18
@mmalerba mmalerba merged commit 8fab892 into angular:main Feb 2, 2024
22 of 24 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 Mar 4, 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: minor This PR is targeted for the next minor release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants