Skip to content

refactor(material/button): clean up tokens and use tokens for ripples #28030

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

Merged
merged 2 commits into from
Nov 1, 2023

Conversation

crisbeto
Copy link
Member

@crisbeto crisbeto commented Nov 1, 2023

These changes rework the existing button setup for emitting different color palette tokens to match how it's being done in the rest of the project. Then it builds on top of the changes to introduce Angular-specific tokens for each of the buttons so that we can implement the ripples through them, instead of the existing variables that are used for all button types at the same time.

@crisbeto crisbeto added P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent target: rc This PR is targeted for the next release-candidate labels Nov 1, 2023
@crisbeto crisbeto force-pushed the button-ripple-tokens branch 4 times, most recently from 585c878 to f787925 Compare November 1, 2023 14:08
These changes rework the existing button setup for emitting different color palette tokens to match how it's being done in the rest of the project. Then it builds on top of the changes to introduce Angular-specific tokens for each of the buttons so that we can implement the ripples through them, instead of the existing variables that are used for all button types at the same time.
@crisbeto crisbeto force-pushed the button-ripple-tokens branch from f787925 to 9257279 Compare November 1, 2023 15:56
@crisbeto crisbeto requested a review from devversion as a code owner November 1, 2023 15:56
@crisbeto crisbeto added the action: merge The PR is ready for merge by the caretaker label Nov 1, 2023
@crisbeto crisbeto self-assigned this Nov 1, 2023
@crisbeto crisbeto merged commit 56771e4 into angular:main Nov 1, 2023
crisbeto added a commit that referenced this pull request Nov 1, 2023
…#28030)

* refactor(material/button): clean up tokens and use tokens for ripples

These changes rework the existing button setup for emitting different color palette tokens to match how it's being done in the rest of the project. Then it builds on top of the changes to introduce Angular-specific tokens for each of the buttons so that we can implement the ripples through them, instead of the existing variables that are used for all button types at the same time.

* fixup! refactor(material/button): clean up tokens and use tokens for ripples

(cherry picked from commit 56771e4)
@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 2, 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 P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent target: rc This PR is targeted for the next release-candidate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants