Skip to content

fix(material/datepicker): toggle button active color not showing up in M3 #31565

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 1 commit into from
Jul 21, 2025

Conversation

crisbeto
Copy link
Member

There were two issues preventing the active styles for the datepicker toggle from showing up in M3:

  1. In M2 the inner button had a color: inherit which allowed it to inherit the color from the toggle, however in M3 the button has a specific color.
  2. The M3 tokens for the datepicker weren't setting the right color.

…n M3

There were two issues preventing the active styles for the datepicker toggle from showing up in M3:
1. In M2 the inner button had a `color: inherit` which allowed it to inherit the color from the toggle, however in M3 the button has a specific color.
2. The M3 tokens for the datepicker weren't setting the right color.
@crisbeto crisbeto requested a review from a team as a code owner July 19, 2025 07:18
@crisbeto crisbeto removed the request for review from a team July 19, 2025 07:18
@crisbeto crisbeto added the target: patch This PR is targeted for the next patch release label Jul 19, 2025
@crisbeto crisbeto requested review from mmalerba and ok7sai July 19, 2025 07:18
@andrewseguin andrewseguin added the action: merge The PR is ready for merge by the caretaker label Jul 21, 2025
@crisbeto crisbeto removed request for mmalerba and ok7sai July 21, 2025 20:07
@crisbeto crisbeto merged commit 5bd42ea into angular:main Jul 21, 2025
36 of 37 checks passed
@crisbeto
Copy link
Member Author

The changes were merged into the following branches: main, 20.1.x

crisbeto added a commit that referenced this pull request Jul 21, 2025
…n M3 (#31565)

There were two issues preventing the active styles for the datepicker toggle from showing up in M3:
1. In M2 the inner button had a `color: inherit` which allowed it to inherit the color from the toggle, however in M3 the button has a specific color.
2. The M3 tokens for the datepicker weren't setting the right color.

(cherry picked from commit 5bd42ea)
@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 Aug 21, 2025
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 area: material/datepicker target: patch This PR is targeted for the next patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants