From 7b12788a92fe9a5481756913f753164ce13fece8 Mon Sep 17 00:00:00 2001 From: JMARyA Date: Wed, 15 Jan 2025 22:27:52 +0100 Subject: [PATCH] update --- src/ui/primitives/text.rs | 9 +++++++++ 1 file changed, 9 insertions(+) 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`