To change the font-size of Material UI you can provide a fontSize property. Users change font size settings for all kinds of reasons, from poor eyesight to choosing optimum settingsįor devices that can be vastly different in size and viewing distance. So rem units allow us to accommodate the user's settings, resulting in a better accessibility support. The browser element default font size is 16px, but browsers have an option to change this value, Material UI uses rem units for the font size. Note that if you want to add additional declarations, you need to use the string CSS template syntax for adding style overrides, so that the previously defined declarations won't be replaced. Import RalewayWoff2 from './fonts/Raleway-Regular.woff2' const theme = createTheme ( ) format('woff2') Fancy Inheritance Font Inheritance Font Font Custom fonts preview Save settings Inheritance.ttf Download font - 23KB Font release note Inheritance Font Regular Inheritance Font:Version 1.00 Inheritance Font Version 1.00 January 12, 2006, initial release InheritanceFont Iravith Trademark of (Valeran).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |