From 98de18513ebf3e2f027a89435d943c04fab4350d Mon Sep 17 00:00:00 2001 From: Liam DeBeasi Date: Mon, 11 Sep 2023 08:53:16 -0400 Subject: [PATCH] fix: add fallback for when not enabled (#28142) --- core/src/css/typography.scss | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/core/src/css/typography.scss b/core/src/css/typography.scss index 5493b0aab6..d1474a38d9 100644 --- a/core/src/css/typography.scss +++ b/core/src/css/typography.scss @@ -38,7 +38,10 @@ html { */ @supports (-webkit-touch-callout: none) { html { - font: var(--ion-dynamic-font); + /** + * Includes fallback if Dynamic Type is not enabled. + */ + font: var(--ion-dynamic-font, 16px var(--ion-font-family)); } }