Text Design

Mojo's base.textDesign enables developers to meticulously tailor text styles for optimal visual appeal and readability across diverse screen sizes and devices.

PropertyDescriptionType
[Name]desired styles.object

Mojo's default text designs:

Text StyleFont SizeLine Height
Small (text-sm)0.875rem1.5
Medium (text-md)1rem1.5
Large (text-lg)1.125rem1.5
Extra-Large (text-xl)1.5rem1.5
Extra-Extra-Large (text-xxl)2rem1.5