feat(core): component level theming

This commit is contained in:
Maria Hutt
2025-04-29 14:18:57 -07:00
committed by Brandy Smith
parent a130a4a63a
commit 3c6bb9fb00
6 changed files with 115 additions and 56 deletions

View File

@@ -41,7 +41,10 @@ html {
/**
* Includes fallback if Dynamic Type is not enabled.
*/
font: var(--ion-dynamic-font, 16px var(--ion-font-family));
// ion-font-sizes-root needs a fallback since the new theming isn't fully
// implemented in the framework yet.
font: var(--ion-dynamic-font, var(--ion-font-sizes-root, 16px) var(--ion-font-family));
// font: var(--ion-dynamic-font, var(--ion-font-sizes-root) var(--ion-font-family));
}
}