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. By downloading the Font, You agree to our Terms and Conditions. View Sample Text, Character Map, User rating and review for Helvetica Neue LT Std 76 Bold Italic. The browser element default font size is 16px, but browsers have an option to change this value, Download Helvetica Neue LT Std 76 Bold Italic For Free.
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')