Typography
Typographies are utility classes used for designing fonts and text.
Elixir offers the following typography utilities - Heading Utilities, Text Utilities, Colored Text Utilities, and Aligned Text Utilities.
Typographies are utility classes used for designing fonts and text.
Elixir offers the following typography utilities - Heading Utilities, Text Utilities, Colored Text Utilities, and Aligned Text Utilities.
Elixir offers 6 types of headings - h1, h2, h3, h4, h5, and h6.
To generate a heading, use the base class heading along with any of the supporting classes heading-1, heading-2, heading-3, heading-4, heading-5, and heading-6.
Copy the code below to use headings of varying sizes.
Elixir offers 3 types of text utilties - small, regular, and large text.
To generate a text, use the base text along with any one of the supporting classes- text-sm, text-reg, and text-lg.
Copy the code below to use text with varying sizes
Elixir offers 5 types of colored text utilties - primary, secondary, success, warning, and error colored text.
You can generate text with the following colors - Primary Color, Secondary Color, Success Color, Warning Color, Error Color, and Gray Color.
To generate a colored text, add the base text along with any one of the supporting colored classes-
primary-color, secondary-color, success-color, warning-color error-color, and gray-color.
Copy the code below to use text with different colors
Elixir offers 4 aligned text utiltiies - text aligned to the right, left, center or justified.
Left aligned text is the default alignment.
To generate aligned text, use the base class text along with any one of the supporting alignment classes- text-left, text-center, text-right, and text-justify.
Copy the code below to use aligned text.