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): Update M3 palettes #28109

Merged
merged 1 commit into from
Nov 15, 2023

Conversation

mmalerba
Copy link
Contributor

Last time I checked, the M3 theme generator generated the same neutral palette regardless of the primary color used. That didn't really make much sense, because it caused the neutral colors to always have a purplish tint. It seems like maybe a bug that was fixed, because now it generates different neutral colors depending on the primary.

I've updated our pre-defined palettes to capture these different neutrals. I created a script to convert the MDC theme builder exports to our palette CSS format. I'm not including it as part of this commit, but just FYI that it'll be cheap to add to / update our predefined palettes in the future. If we want the script checked in I can clean it up and make a separate PR for it.

@mmalerba mmalerba added the target: patch This PR is targeted for the next patch release label Nov 10, 2023

Verified

This commit was signed with the committer’s verified signature.
renovate-bot Mend Renovate
Last time I checked, the M3 theme generator generated the same neutral
palette regardless of the primary color used. That didn't really make
much sense, because it caused the neutral colors to always have a
purplish tint. It seems like maybe a bug that was fixed, because now it
generates different neutral colors depending on the primary.

I've updated our pre-defined palettes to capture these different
neutrals. I created a script to convert the MDC theme builder exports to
our palette CSS format. I'm not including it as part of this commit, but
just FYI that it'll be cheap to add to / update our predefined palettes
in the future. If we want the script checked in I can clean it up and
make a separate PR for it.
@mmalerba mmalerba added the action: merge The PR is ready for merge by the caretaker label Nov 15, 2023
@mmalerba mmalerba merged commit 1735032 into angular:main Nov 15, 2023
mmalerba added a commit that referenced this pull request Nov 15, 2023
Last time I checked, the M3 theme generator generated the same neutral
palette regardless of the primary color used. That didn't really make
much sense, because it caused the neutral colors to always have a
purplish tint. It seems like maybe a bug that was fixed, because now it
generates different neutral colors depending on the primary.

I've updated our pre-defined palettes to capture these different
neutrals. I created a script to convert the MDC theme builder exports to
our palette CSS format. I'm not including it as part of this commit, but
just FYI that it'll be cheap to add to / update our predefined palettes
in the future. If we want the script checked in I can clean it up and
make a separate PR for it.

(cherry picked from commit 1735032)
@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 Dec 16, 2023
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.

None yet

2 participants