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

40 lines
1.3 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'),
('editbox', 'white', 'black'),
('editbox_focused', '', '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-24 12:53:55 +02:00
# Functional
2019-08-24 14:14:46 +02:00
('hashtag', 'light cyan,bold', ''),
2019-08-24 12:53:55 +02:00
('link', ',italics', ''),
2019-08-24 14:14:46 +02:00
# Colors
('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', ''),
('yellow_selected', 'yellow', 'dark blue'),
]
2019-08-27 14:16:14 +02:00
VISIBILITY_OPTIONS = [
("public", "Public", "Post to public timelines"),
("private", "Private", "Do not post to public timelines"),
("unlisted", "Unlisted", "Post to followers only"),
("direct", "Direct", "Post to mentioned users only"),
]