diff --git a/src/ui/primitives/text.rs b/src/ui/primitives/text.rs index 927822d..47003b1 100644 --- a/src/ui/primitives/text.rs +++ b/src/ui/primitives/text.rs @@ -79,6 +79,15 @@ impl TextWidget { self } + /// Turn `Text` size to 3XL. + /// + /// Adds the class `text-3xl` + #[must_use] + pub fn _3xl(mut self) -> Self { + self.size = "text-3xl".to_string(); + self + } + /// Turn `Text` size to 2XL. /// /// Adds the class `text-2xl`