feat: add user-configurable theme settings

This commit is contained in:
2026-10-24 09:15:12 +07:00
parent 30da985ac1
commit 8f35ae92b7
10 changed files with 397 additions and 171 deletions
+2 -2
View File
@@ -158,7 +158,7 @@ impl Render for BackupPanel {
.text_color(cx.theme().muted_foreground)
.child(SharedString::from("Public Key:")),
)
.child(Input::new(&self.npub_input).small().disabled(true)),
.child(Input::new(&self.npub_input).disabled(true)),
)
.child(
v_flex()
@@ -171,7 +171,7 @@ impl Render for BackupPanel {
.text_color(cx.theme().muted_foreground)
.child(SharedString::from("Secret Key:")),
)
.child(Input::new(&self.nsec_input).small().disabled(true)),
.child(Input::new(&self.nsec_input).disabled(true)),
)
.child(
Button::new("copy")
+1 -1
View File
@@ -337,7 +337,7 @@ impl Render for ContactListPanel {
h_flex()
.gap_1()
.w_full()
.child(Input::new(&self.input).small().cleanable(true))
.child(Input::new(&self.input).cleanable(true))
.child(
Button::new("add")
.icon(IconName::Plus)