UI Tweaks and theme updates
This commit is contained in:
parent
7104e95b30
commit
49f3f9c732
|
@ -12,12 +12,14 @@ def mdc(color, hue=None):
|
|||
hue = "400"
|
||||
return get_color_from_hex(colors[color][hue])
|
||||
|
||||
color_received = "Green"
|
||||
# color_received = "Green"
|
||||
color_received = "Teal"
|
||||
color_delivered = "Indigo"
|
||||
color_propagated = "Blue"
|
||||
color_failed = "Red"
|
||||
color_unknown = "Gray"
|
||||
intensity_msgs_dark = "600"
|
||||
|
||||
intensity_msgs_dark = "700"
|
||||
intensity_msgs_light = "500"
|
||||
|
||||
class ContentNavigationDrawer(Screen):
|
||||
|
|
|
@ -130,6 +130,9 @@ MDNavigationLayout:
|
|||
MDRectangleFlatIconButton:
|
||||
icon: "transfer-up"
|
||||
text: "Send"
|
||||
padding: [dp(10), dp(13), dp(10), dp(14)]
|
||||
icon_size: dp(24)
|
||||
font_size: dp(16)
|
||||
on_release: root.ids.screen_manager.app.message_send_action(self)
|
||||
|
||||
|
||||
|
@ -626,6 +629,9 @@ MDNavigationLayout:
|
|||
id: keys_display
|
||||
icon: "eye"
|
||||
text: "Display Identity Key"
|
||||
padding: [dp(0), dp(14), dp(0), dp(14)]
|
||||
icon_size: dp(24)
|
||||
font_size: dp(16)
|
||||
size_hint: [1.0, None]
|
||||
on_release: root.ids.screen_manager.app.identity_display_action(self)
|
||||
|
||||
|
@ -633,6 +639,9 @@ MDNavigationLayout:
|
|||
id: keys_copy
|
||||
icon: "file-key"
|
||||
text: "Copy Key To Clipboard"
|
||||
padding: [dp(0), dp(14), dp(0), dp(14)]
|
||||
icon_size: dp(24)
|
||||
font_size: dp(16)
|
||||
size_hint: [1.0, None]
|
||||
on_release: root.ids.screen_manager.app.identity_copy_action(self)
|
||||
|
||||
|
@ -640,6 +649,9 @@ MDNavigationLayout:
|
|||
id: keys_share
|
||||
icon: "upload-lock"
|
||||
text: "Send Key To Other App"
|
||||
padding: [dp(0), dp(14), dp(0), dp(14)]
|
||||
icon_size: dp(24)
|
||||
font_size: dp(16)
|
||||
size_hint: [1.0, None]
|
||||
on_release: root.ids.screen_manager.app.identity_share_action(self)
|
||||
|
||||
|
@ -661,6 +673,9 @@ MDNavigationLayout:
|
|||
id: keys_restore
|
||||
icon: "download-lock"
|
||||
text: "Restore Identity From Key"
|
||||
padding: [dp(0), dp(14), dp(0), dp(14)]
|
||||
icon_size: dp(24)
|
||||
font_size: dp(16)
|
||||
size_hint: [1.0, None]
|
||||
on_release: root.ids.screen_manager.app.identity_restore_action(self)
|
||||
|
||||
|
|
|
@ -132,7 +132,7 @@ class Messages():
|
|||
heading_str = titlestr+"[b]Sent[/b] "+txstr+" [b]State[/b] Unknown"
|
||||
|
||||
else:
|
||||
msg_color = mdc("Green", intensity_msgs)
|
||||
msg_color = mdc(color_received, intensity_msgs)
|
||||
heading_str = titlestr+"[b]Sent[/b] "+txstr+"\n[b]Received[/b] "+rxstr
|
||||
|
||||
item = ListLXMessageCard(
|
||||
|
|
Loading…
Reference in New Issue