Skip to content

Commit

Permalink
chore: enable dynamic font for starter templates (#1802)
Browse files Browse the repository at this point in the history
  • Loading branch information
sean-perkins authored Oct 2, 2023
1 parent 7bcf9aa commit 4fa4327
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 1 deletion.
8 changes: 8 additions & 0 deletions angular-standalone/base/src/theme/variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -234,3 +234,11 @@
--ion-card-background: #1e1e1e;
}
}

html {
/*
* For more information on dynamic font scaling, visit the documentation:
* https://ionicframework.com/docs/layout/dynamic-font-scaling
*/
--ion-dynamic-font: var(--ion-default-dynamic-font);
}
8 changes: 8 additions & 0 deletions angular/base/src/theme/variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -234,3 +234,11 @@
--ion-card-background: #1e1e1e;
}
}

html {
/*
* For more information on dynamic font scaling, visit the documentation:
* https://ionicframework.com/docs/layout/dynamic-font-scaling
*/
--ion-dynamic-font: var(--ion-default-dynamic-font);
}
6 changes: 6 additions & 0 deletions react-vite/base/src/theme/variables.css
Original file line number Diff line number Diff line change
Expand Up @@ -234,3 +234,9 @@ http://ionicframework.com/docs/theming/ */
--ion-card-background: #1e1e1e;
}
}

html {
/* For more information on dynamic font scaling, visit the documentation:
https://ionicframework.com/docs/layout/dynamic-font-scaling */
--ion-dynamic-font: var(--ion-default-dynamic-font);
}
8 changes: 7 additions & 1 deletion vue-vite/base/src/theme/variables.css
Original file line number Diff line number Diff line change
Expand Up @@ -233,4 +233,10 @@ http://ionicframework.com/docs/theming/ */

--ion-card-background: #1e1e1e;
}
}
}

html {
/* For more information on dynamic font scaling, visit the documentation:
https://ionicframework.com/docs/layout/dynamic-font-scaling */
--ion-dynamic-font: var(--ion-default-dynamic-font);
}

0 comments on commit 4fa4327

Please sign in to comment.