summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2020-03-15 21:25:57 +0100
committerPaweł Redman <pawel.redman@gmail.com>2020-03-15 21:25:57 +0100
commitec0ad2b68de7720549bb1c7380ccb54f335ac212 (patch)
treedda1b0d3988e99197bd38cb4497fe96094ab7de1
parent1de1f6717b68f934019baf2fa52c76e0f94f2e38 (diff)
A less random color theme
-rw-r--r--rcon.py14
1 files changed, 6 insertions, 8 deletions
diff --git a/rcon.py b/rcon.py
index d744792..8e18188 100644
--- a/rcon.py
+++ b/rcon.py
@@ -111,7 +111,7 @@ class Console:
self.edit_pre = ServerSelector(self)
self.edit_pre_attrmap = urwid.AttrMap(self.edit_pre, "button",
"button focus")
- self.edit = urwid.Edit()
+ self.edit = urwid.Edit(" $ ")
self.edit_attrmap = urwid.AttrMap(self.edit, "edit", "edit focus")
self.edit_box = urwid.Columns(
[self.edit_pre_attrmap, ("weight", 6, self.edit_attrmap)]
@@ -169,17 +169,15 @@ class Console:
palette = [
# UI elements
- ("button", "white", "dark red"),
- ("button focus", "white, bold", "light red"),
+ ("button", "black", "white"),
+ ("button focus", "black", "white"),
("status", "black", "white"),
- ("edit focus", "white", "black"),
- ("edit", "white", "dark gray"),
- ("popup", "white", "dark red"),
+ ("edit focus", "white", "dark gray"),
+ ("edit", "white", "black"),
+ ("popup", "black", "white"),
# Log text
("system", "white, bold", "dark gray"),
-
- ("WTF", "black", "black", "black", "#123456", "black"),
] \
+ trem_palette