Tweak colors
This commit is contained in:
parent
4f62f417f8
commit
94b4b35197
2 changed files with 4 additions and 2 deletions
|
@ -26,6 +26,7 @@ PALETTE = [
|
||||||
('status_list_timestamp', 'light blue', ''),
|
('status_list_timestamp', 'light blue', ''),
|
||||||
|
|
||||||
# Functional
|
# Functional
|
||||||
|
('account', 'dark green', ''),
|
||||||
('hashtag', 'light cyan,bold', ''),
|
('hashtag', 'light cyan,bold', ''),
|
||||||
('hashtag_followed', 'yellow,bold', ''),
|
('hashtag_followed', 'yellow,bold', ''),
|
||||||
('link', ',italics', ''),
|
('link', ',italics', ''),
|
||||||
|
@ -75,6 +76,7 @@ MONO_PALETTE = [
|
||||||
('warning', 'white,bold', 'black'),
|
('warning', 'white,bold', 'black'),
|
||||||
|
|
||||||
# Functional
|
# Functional
|
||||||
|
('account', 'white', ''),
|
||||||
('hashtag_followed', 'white,bold', ''),
|
('hashtag_followed', 'white,bold', ''),
|
||||||
('hashtag', 'white,bold', ''),
|
('hashtag', 'white,bold', ''),
|
||||||
('link', ',italics', ''),
|
('link', ',italics', ''),
|
||||||
|
|
|
@ -326,9 +326,9 @@ class StatusDetails(urwid.Pile):
|
||||||
yield ("pack", urwid.AttrMap(urwid.Divider("-"), "dim"))
|
yield ("pack", urwid.AttrMap(urwid.Divider("-"), "dim"))
|
||||||
|
|
||||||
if status.author.display_name:
|
if status.author.display_name:
|
||||||
yield ("pack", urwid.Text(("status_detail_author", status.author.display_name)))
|
yield ("pack", urwid.Text(("bold", status.author.display_name)))
|
||||||
|
|
||||||
account_color = "highlight" if status.author.account in self.followed_accounts else "dim"
|
account_color = "highlight" if status.author.account in self.followed_accounts else "account"
|
||||||
yield ("pack", urwid.Text((account_color, status.author.account)))
|
yield ("pack", urwid.Text((account_color, status.author.account)))
|
||||||
yield ("pack", urwid.Divider())
|
yield ("pack", urwid.Divider())
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue