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. 1 style available Download ZIP (23 KB) Click to preview. Search Logo Script Wedding Modern Handwriting Display Calligraphy Bold Brush All. So rem units allow us to accommodate the user's settings, resulting in a better accessibility support. Free download Inheritance Font Family (Typeface) TTF, OTF From.
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. The inherit option means it will receive the body’s font family. 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')