Text and Typography
Control text size, alignment, wrapping, overflow, transforms and more. Alignment helper classes allow you to easily re-align text. There are also available alignment classes that support responsive displays. Remove text decoration with the Text can be transformed with text capitalization classes. Material design, by default, supports 100, 300, 400, 500, 700, 900 font weights and italicized text. Opacity helper classes allow you to easily adjust the emphasis of text. Typography
Text Alignment
Text Decoration
.text-decoration-none
class or add an overline, underline or line-through by using .text-decoration-overline
, .text-decoration-underline
, and .text-decoration-line-through
. Text Transform
Font Weights
Text Opacity
.text--primary
has the same opacity as default text. .text--secondary
is used for hints and helper text. De-emphasise text with .text--disabled
. The opacities change with the theme.
Ready For More?
Continue to learn more about svelte materialify with content selected by the creator.