feat: add user-configurable theme settings
This commit is contained in:
@@ -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")
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user