🚧 Working on theming: anchor and icon font sizes

This commit is contained in:
Manuel Cillero 2023-11-01 21:16:29 +01:00
parent a6b6130f4f
commit 556a160c16
6 changed files with 216 additions and 111 deletions

View file

@ -80,12 +80,14 @@ fn hello_world() -> Wrapper {
)
.with_target(AnchorTarget::Blank)
.with_left_icon(Icon::with("git"))
.with_classes(ClassesOp::Add, "code-link"),
.with_classes(ClassesOp::Add, "code-link")
.with_font_size(FontSize::Large),
)
.add_component(
Anchor::link("#welcome", L10n::t("hello_welcome", &LOCALES_HOMEDEMO))
.with_left_icon(Icon::with("arrow-down-circle-fill"))
.with_classes(ClassesOp::Add, "welcome-link"),
.with_classes(ClassesOp::Add, "welcome-link")
.with_font_size(FontSize::Large),
),
)
.add_item(