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

[Patch port] fix(material/datepicker): calendar font tokens not being picked up #29615

Merged
merged 1 commit into from
Aug 21, 2024

Conversation

crisbeto
Copy link
Member

Ports the changes from #29610 to the patch branch.

We were setting the calendar-text-font and calendar-text-size tokens at the top level of the calendar which meant that it wasn't being picked up in the cells, because they have button elements which have user agent styles.

These changes resolve the issue by explicitly setting the tokens.

Also fixes that the font size was too big in M3.

Fixes #29608.

…ngular#29610)

We were setting the `calendar-text-font` and `calendar-text-size` tokens at the top level of the calendar which meant that it wasn't being picked up in the cells, because they have `button` elements which have user agent styles.

These changes resolve the issue by explicitly setting the tokens.

Also fixes that the font size was too big in M3.

Fixes angular#29608.
@crisbeto crisbeto added the target: patch This PR is targeted for the next patch release label Aug 20, 2024
@crisbeto crisbeto requested a review from a team as a code owner August 20, 2024 19:16
@crisbeto crisbeto requested review from mmalerba, wagnermaciel and andrewseguin and removed request for a team August 20, 2024 19:16
@crisbeto crisbeto added the action: merge The PR is ready for merge by the caretaker label Aug 20, 2024
@crisbeto crisbeto requested review from devversion and removed request for mmalerba, wagnermaciel and andrewseguin August 20, 2024 20:46
This pull request was closed.
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 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