Material Design Typography Line Height
Foundation overview Environment Surfaces.
Material design typography line height. Google recommends using Roboto as main typography for all applications that are built with Material Design language. Line height or line spacing is commonly measured as a percentage of font size. Documentation and examples for common text utilities to control alignment wrapping weight and more.
The Material Design type scale includes a range of contrasting styles that support the needs of your product and its content. So if your designer write line height 19sp and text size 15sp it means you need to have extra padding 4sp. Each level has a size line height and font-weight.
English and English-like languages mostly use a portion of the em box often the lower portion below the x-height. Use typography to present your design and content as clearly and efficiently as possible. This function accepts in order CSS values for font-size line-height font-weight font-family and letter-spacing.
The typographic styles in this module are derived from thirteen styles. Line height usually means text size padding topbottom. Conventional wisdom is that line spacing of 130-150 is ideal for readability.
CSS classes are provided for typography. There is no magic number that works for all text. Conventional wisdom is that line spacing of 130-150 is ideal for readability but even up to 200 is acceptable.
The type scale is a combination of thirteen styles that are supported by the type system. Material design typography also offers you SCSS mixins to customize how typography will work in the document. So keeping your line height within the ratio in such a way that it is always divisible by 4 gives you the best.