28 lines
991 B
Python
28 lines
991 B
Python
# Supported 16 color values:
|
|
# 'h0' (color number 0) through 'h15' (color number 15)
|
|
# or
|
|
# 'default' (use the terminal's default foreground),
|
|
# 'black', 'dark red', 'dark green', 'brown', 'dark blue',
|
|
# 'dark magenta', 'dark cyan', 'light gray', 'dark gray',
|
|
# 'light red', 'light green', 'yellow', 'light blue',
|
|
# 'light magenta', 'light cyan', 'white'
|
|
#
|
|
# Supported 256 color values:
|
|
# 'h0' (color number 0) through 'h255' (color number 255)
|
|
#
|
|
# 256 color chart: http://en.wikipedia.org/wiki/File:Xterm_color_chart.png
|
|
#
|
|
# "setting_name": (foreground_color, background_color),
|
|
|
|
# See pudb/theme.py
|
|
# (https://github.com/inducer/pudb/blob/master/pudb/theme.py) to see what keys
|
|
# there are.
|
|
|
|
# Note, be sure to test your theme in both curses and raw mode (see the bottom
|
|
# of the preferences window). Curses mode will be used with screen or tmux.
|
|
|
|
palette.update({
|
|
"source": (add_setting("black", "underline"), "dark green"),
|
|
"comment": ("h250", "default")
|
|
})
|