Module freya_elements::text

source ·
Expand description

text element is simply a text span used for the paragraph element.

Constants§

  • The color attribute 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 the font_family you can specify what font you want to use for the inner text.
  • You can specify the size of the text using font_size.
  • You can choose a style for a text using the font_style attribute.
  • You can choose a weight for text using the font_weight attribute.
  • You can choose a width for a text using the font_width attribute.
  • Specify the spacing between characters of the text.
  • line_height
  • You can change the alignment of the text using the text_align attribute.
  • Specify the shadow of a text.
  • Specify the spacing between words of the text.