Toot-Mastodon-CLI-TUI-clien.../toot/tui/constants.py

49 lines
1.6 KiB
Python
Raw Normal View History

# name, fg, bg, mono, fg_h, bg_h
PALETTE = [
2019-08-24 14:14:46 +02:00
# Components
2019-08-27 10:02:13 +02:00
('button', 'white', 'black'),
('button_focused', 'light gray', 'dark magenta'),
2019-08-31 15:06:17 +02:00
('columns_divider', 'white', 'dark blue'),
('content_warning', 'white', 'dark magenta'),
2019-08-27 10:02:13 +02:00
('editbox', 'white', 'black'),
2019-08-29 14:01:26 +02:00
('editbox_focused', 'white', 'dark magenta'),
2019-08-24 14:14:46 +02:00
('footer_message', 'dark green', ''),
2019-08-27 10:02:13 +02:00
('footer_message_error', 'light red', ''),
('footer_status', 'white', 'dark blue'),
2019-08-24 12:53:55 +02:00
('footer_status_bold', 'white, bold', 'dark blue'),
2019-08-24 14:14:46 +02:00
('header', 'white', 'dark blue'),
('header_bold', 'white,bold', 'dark blue'),
('intro_bigtext', 'yellow', ''),
('intro_smalltext', 'light blue', ''),
2019-08-31 15:06:17 +02:00
('poll_bar', 'white', 'dark blue'),
2019-08-24 12:53:55 +02:00
# Functional
2019-08-24 14:14:46 +02:00
('hashtag', 'light cyan,bold', ''),
2022-12-20 22:28:24 +01:00
('followed_hashtag', 'yellow,bold', ''),
2019-08-24 12:53:55 +02:00
('link', ',italics', ''),
2019-08-31 14:50:31 +02:00
('link_focused', ',italics', 'dark magenta'),
2019-08-24 12:53:55 +02:00
2019-08-24 14:14:46 +02:00
# Colors
2019-08-28 17:29:33 +02:00
('bold', ',bold', ''),
('blue', 'light blue', ''),
('blue_bold', 'light blue, bold', ''),
2019-08-25 14:30:57 +02:00
('blue_selected', 'white', 'dark blue'),
('cyan', 'dark cyan', ''),
('cyan_bold', 'dark cyan,bold', ''),
2019-08-24 14:14:46 +02:00
('gray', 'dark gray', ''),
('green', 'dark green', ''),
('green_selected', 'white,bold', 'dark green'),
('yellow', 'yellow', ''),
2019-08-31 11:17:46 +02:00
('yellow_bold', 'yellow,bold', ''),
('red', 'dark red', ''),
('warning', 'light red', ''),
('white_bold', 'white,bold', '')
]
2019-08-27 14:16:14 +02:00
VISIBILITY_OPTIONS = [
("public", "Public", "Post to public timelines"),
("unlisted", "Unlisted", "Do not post to public timelines"),
("private", "Private", "Post to followers only"),
2019-08-27 14:16:14 +02:00
("direct", "Direct", "Post to mentioned users only"),
]