feat: new greeter panel

This commit is contained in:
2026-10-17 17:04:50 +07:00
parent aa86fef16f
commit deed021332
6 changed files with 533 additions and 162 deletions
+3 -3
View File
@@ -101,14 +101,14 @@ impl RenderOnce for GroupBox {
v_flex()
.id(self.id.unwrap_or("group-box".into()))
.w_full()
.when(has_paddings, |this| this.gap_3())
.when(!has_paddings, |this| this.gap_4())
.when(has_paddings, |this| this.gap_1p5())
.when(!has_paddings, |this| this.gap_2())
.refine_style(&self.style)
.when_some(self.title, |this, title| {
this.child(
div()
.text_color(cx.theme().text_muted)
.text_style(TextStyle::Callout)
.text_style(TextStyle::Subheadline)
.font_semibold()
.child(title),
)