Module freya_elements::elements::text  
source · Expand description
text element is simply a text span used for the paragraph element.
Constants§
- Thecolorattribute lets you specify the color of the text.
- Specify the decoration in a text.
- Specify the decoration’s color in a text.
- Specify the decoration’s style in a text.
- With thefont_familyyou can specify what font you want to use for the inner text.
- You can specify the size of the text usingfont_size.
- You can choose a style for a text using thefont_styleattribute.
- You can choose a weight for text using thefont_weightattribute.
- You can choose a width for a text using thefont_widthattribute.
- Specify the spacing between characters of the text.
- line_height
- You can change the alignment of the text using thetext_alignattribute.
- Specify the shadow of a text.
- Specify the spacing between words of the text.