Tweak colors

This commit is contained in:
Ivan Habunek 2023-07-08 08:49:50 +02:00
parent 4f62f417f8
commit 94b4b35197
No known key found for this signature in database
GPG Key ID: F5F0623FF5EBCB3D
2 changed files with 4 additions and 2 deletions

View File

@ -26,6 +26,7 @@ PALETTE = [
('status_list_timestamp', 'light blue', ''),
# Functional
('account', 'dark green', ''),
('hashtag', 'light cyan,bold', ''),
('hashtag_followed', 'yellow,bold', ''),
('link', ',italics', ''),
@ -75,6 +76,7 @@ MONO_PALETTE = [
('warning', 'white,bold', 'black'),
# Functional
('account', 'white', ''),
('hashtag_followed', 'white,bold', ''),
('hashtag', 'white,bold', ''),
('link', ',italics', ''),

View File

@ -326,9 +326,9 @@ class StatusDetails(urwid.Pile):
yield ("pack", urwid.AttrMap(urwid.Divider("-"), "dim"))
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.Divider())