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

refactor(multiple): Copy mdc-form-field tokens to individual components #29026

Merged
merged 5 commits into from
May 17, 2024

Conversation

mmalerba
Copy link
Contributor

@mmalerba mmalerba commented May 9, 2024

Previously several --mdc-form-field-... tokens were shared between checkbox, radio, and slide-toggle. This introduced potential for accidentally changing styles on multiple components when trying to target just one. In order to resolve this, this PR gives each component its own uniquely named copy of the token:

  • --mat-checkbox-...
  • --mat-radio-...
  • --mat-switch-...

@mmalerba mmalerba changed the title refactor(multiple): copy mdc-form-field tokens to individual components refactor(multiple): Copy mdc-form-field tokens to individual components May 9, 2024
@angular-robot angular-robot bot added the area: build & ci Related the build and CI infrastructure of the project label May 9, 2024
@mmalerba mmalerba added the target: rc This PR is targeted for the next release-candidate label May 9, 2024
@mmalerba mmalerba marked this pull request as ready for review May 9, 2024 18:35
@mmalerba mmalerba added the merge: preserve commits When the PR is merged, a rebase and merge should be performed label May 9, 2024
@mmalerba mmalerba added the action: merge The PR is ready for merge by the caretaker label May 17, 2024
@mmalerba mmalerba merged commit 8f54edf into angular:main May 17, 2024
24 of 26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
action: merge The PR is ready for merge by the caretaker area: build & ci Related the build and CI infrastructure of the project merge: preserve commits When the PR is merged, a rebase and merge should be performed target: rc This PR is targeted for the next release-candidate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants