From eeff259208f6256e102eb7e121432efaa069d1e1 Mon Sep 17 00:00:00 2001 From: luoxiao Date: Tue, 14 May 2024 17:39:13 +0800 Subject: [PATCH] feat: text --- demo_markdown/docs/card/mod.md | 4 +- thaw/src/lib.rs | 3 +- thaw/src/text/mod.rs | 89 ++++++++++++++++++++++++++++++++-- thaw/src/text/text.css | 30 ++++++++++++ thaw/src/theme/mod.rs | 12 ++--- thaw/src/typography/mod.rs | 5 -- thaw/src/typography/text.css | 9 ---- thaw/src/typography/text.rs | 38 --------------- thaw/src/typography/theme.rs | 20 -------- thaw_utils/src/class_list.rs | 49 ++++++++++++++++++- 10 files changed, 171 insertions(+), 88 deletions(-) create mode 100644 thaw/src/text/text.css delete mode 100644 thaw/src/typography/mod.rs delete mode 100644 thaw/src/typography/text.css delete mode 100644 thaw/src/typography/text.rs delete mode 100644 thaw/src/typography/theme.rs diff --git a/demo_markdown/docs/card/mod.md b/demo_markdown/docs/card/mod.md index 585da00..0f8d937 100644 --- a/demo_markdown/docs/card/mod.md +++ b/demo_markdown/docs/card/mod.md @@ -4,9 +4,9 @@ view! { - "Header" + "Header" - "Description" + "Description"