Skip to content

fix(typography): add missing rule on ionic theme for ios dynamic type#31031

Merged
BenOsodrac merged 4 commits intonextfrom
ROU-12556-v2
Mar 24, 2026
Merged

fix(typography): add missing rule on ionic theme for ios dynamic type#31031
BenOsodrac merged 4 commits intonextfrom
ROU-12556-v2

Conversation

@BenOsodrac
Copy link
Copy Markdown
Contributor

@BenOsodrac BenOsodrac commented Mar 23, 2026

Issue number: internal


What is the new behavior?

This pull request updates the Ionic typography styles to better support dynamic font sizing on iOS devices. The main focus is on enabling Dynamic Type support conditionally for iOS, while preserving the default font family settings elsewhere. This was already present for md/ios files, but when doing the new Ionic Theme, this particular rule was lost.

iOS Dynamic Type Support:

  • Added a CSS @supports block to apply a dynamic font size using the --ion-dynamic-font variable for iOS devices, leveraging the -webkit-touch-callout feature detection. This ensures Dynamic Type is only enabled on iOS, improving accessibility and user experience for those users.

Does this introduce a breaking change?

  • Yes
  • No

@BenOsodrac BenOsodrac added package: core @ionic/core package type: bug a confirmed bug report labels Mar 23, 2026
@vercel
Copy link
Copy Markdown

vercel bot commented Mar 23, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
ionic-framework Ready Ready Preview, Comment Mar 24, 2026 11:14am

Request Review

@BenOsodrac BenOsodrac marked this pull request as ready for review March 24, 2026 08:54
@BenOsodrac BenOsodrac requested a review from a team as a code owner March 24, 2026 08:54
@BenOsodrac BenOsodrac requested review from OS-jacobbell, brandyscarney and thetaPC and removed request for brandyscarney and thetaPC March 24, 2026 08:54
@BenOsodrac BenOsodrac merged commit 807c701 into next Mar 24, 2026
49 checks passed
@BenOsodrac BenOsodrac deleted the ROU-12556-v2 branch March 24, 2026 11:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

package: core @ionic/core package type: bug a confirmed bug report

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants