🚧 Working on theming: anchor and icon font sizes
This commit is contained in:
parent
a6b6130f4f
commit
556a160c16
6 changed files with 216 additions and 111 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue