2012-06-30 05:37:38 +00:00
|
|
|
palettes = {
|
2012-02-17 23:12:01 +00:00
|
|
|
|
2012-06-29 09:16:05 +00:00
|
|
|
# Default palette for dark background
|
2012-06-30 05:37:38 +00:00
|
|
|
'dark': [
|
2012-06-29 09:16:05 +00:00
|
|
|
# name, foreground, background, mono, foreground_high, background_high
|
|
|
|
# For details on the meaning of the elements refer to
|
|
|
|
# http://excess.org/urwid/reference.html#Screen-register_palette
|
|
|
|
|
2012-02-18 05:48:08 +00:00
|
|
|
('body', 'black', 'dark cyan'),
|
2012-02-17 23:12:01 +00:00
|
|
|
('foot', 'light gray', 'default'),
|
|
|
|
('title', 'white,bold', 'default',),
|
|
|
|
('editline', 'white', 'default',),
|
|
|
|
|
2012-02-18 05:48:08 +00:00
|
|
|
# Status bar & heading
|
2012-06-29 07:25:29 +00:00
|
|
|
('heading', 'light gray', 'dark blue', None, 'g85', 'dark blue'),
|
|
|
|
('heading_key', 'light cyan', 'dark blue', None, 'light cyan', 'dark blue'),
|
|
|
|
('heading_inactive', 'white', 'dark gray', None, 'g58', 'g11'),
|
2012-02-17 23:12:01 +00:00
|
|
|
|
|
|
|
# Help
|
2012-02-18 05:48:08 +00:00
|
|
|
('key', 'light cyan', 'default'),
|
2012-02-17 23:12:01 +00:00
|
|
|
('head', 'white,bold', 'default'),
|
|
|
|
('text', 'light gray', 'default'),
|
|
|
|
|
|
|
|
# List and Connections
|
|
|
|
('method', 'dark cyan', 'default'),
|
|
|
|
('focus', 'yellow', 'default'),
|
2012-04-02 02:08:30 +00:00
|
|
|
|
|
|
|
('code_200', 'light green', 'default'),
|
|
|
|
('code_300', 'light blue', 'default'),
|
2012-06-29 07:25:29 +00:00
|
|
|
('code_400', 'light red', 'default', None, '#f60', 'default'),
|
2012-04-02 02:08:30 +00:00
|
|
|
('code_500', 'light red', 'default'),
|
|
|
|
('code_other', 'dark red', 'default'),
|
|
|
|
|
2012-02-17 23:12:01 +00:00
|
|
|
('error', 'light red', 'default'),
|
2012-04-02 02:08:30 +00:00
|
|
|
|
2012-02-17 23:12:01 +00:00
|
|
|
('header', 'dark cyan', 'default'),
|
|
|
|
('highlight', 'white,bold', 'default'),
|
2012-06-29 07:25:29 +00:00
|
|
|
('intercept', 'brown', 'default', None, '#f60', 'default'),
|
|
|
|
('replay', 'light green', 'default', None, '#0f0', 'default'),
|
2012-02-17 23:12:01 +00:00
|
|
|
('ack', 'light red', 'default'),
|
|
|
|
|
|
|
|
# Hex view
|
|
|
|
('offset', 'dark cyan', 'default'),
|
|
|
|
|
2012-03-17 20:38:42 +00:00
|
|
|
# Grid Editor
|
2012-02-17 23:12:01 +00:00
|
|
|
('focusfield', 'black', 'light gray'),
|
2012-03-23 00:28:33 +00:00
|
|
|
('focusfield_error', 'dark red', 'light gray'),
|
|
|
|
('field_error', 'dark red', 'black'),
|
2012-02-17 23:12:01 +00:00
|
|
|
('editfield', 'black', 'light cyan'),
|
2012-06-30 05:37:38 +00:00
|
|
|
],
|
2012-06-29 09:16:05 +00:00
|
|
|
|
|
|
|
# Palette for light background
|
2012-06-30 05:37:38 +00:00
|
|
|
'light': [
|
2012-06-29 09:16:05 +00:00
|
|
|
('body', 'black', 'dark cyan'),
|
|
|
|
('foot', 'dark gray', 'default'),
|
2012-06-29 14:58:28 +00:00
|
|
|
('title', 'white,bold', 'light blue',),
|
2012-06-29 09:16:05 +00:00
|
|
|
('editline', 'white', 'default',),
|
|
|
|
|
|
|
|
# Status bar & heading
|
|
|
|
('heading', 'white', 'light gray', None, 'g85', 'dark blue'),
|
|
|
|
('heading_key', 'dark blue', 'light gray', None, 'light cyan', 'dark blue'),
|
2012-07-01 07:03:20 +00:00
|
|
|
('heading_inactive', 'light gray', 'dark gray', None, 'dark gray', 'dark blue'),
|
2012-06-29 09:16:05 +00:00
|
|
|
|
|
|
|
# Help
|
|
|
|
('key', 'dark blue,bold', 'default'),
|
|
|
|
('head', 'black,bold', 'default'),
|
|
|
|
('text', 'dark gray', 'default'),
|
|
|
|
|
|
|
|
# List and Connections
|
|
|
|
('method', 'dark cyan', 'default'),
|
|
|
|
('focus', 'black', 'default'),
|
|
|
|
|
|
|
|
('code_200', 'dark green', 'default'),
|
|
|
|
('code_300', 'light blue', 'default'),
|
|
|
|
('code_400', 'dark red', 'default', None, '#f60', 'default'),
|
|
|
|
('code_500', 'dark red', 'default'),
|
|
|
|
('code_other', 'light red', 'default'),
|
|
|
|
|
|
|
|
('error', 'light red', 'default'),
|
|
|
|
|
|
|
|
('header', 'dark blue', 'default'),
|
|
|
|
('highlight', 'black,bold', 'default'),
|
|
|
|
('intercept', 'brown', 'default', None, '#f60', 'default'),
|
|
|
|
('replay', 'dark green', 'default', None, '#0f0', 'default'),
|
|
|
|
('ack', 'dark red', 'default'),
|
|
|
|
|
|
|
|
# Hex view
|
|
|
|
('offset', 'dark blue', 'default'),
|
|
|
|
|
|
|
|
# Grid Editor
|
|
|
|
('focusfield', 'black', 'light gray'),
|
|
|
|
('focusfield_error', 'dark red', 'light gray'),
|
|
|
|
('field_error', 'dark red', 'black'),
|
|
|
|
('editfield', 'black', 'light cyan'),
|
2012-06-30 05:37:38 +00:00
|
|
|
],
|
2012-06-29 10:24:59 +00:00
|
|
|
|
|
|
|
# Palettes for terminals that use the Solarized precision colors
|
|
|
|
# (http://ethanschoonover.com/solarized#the-values)
|
|
|
|
|
|
|
|
# For dark backgrounds
|
2012-06-30 05:37:38 +00:00
|
|
|
'solarized_dark': [
|
2012-06-29 10:24:59 +00:00
|
|
|
('body', 'dark cyan', 'default'),
|
|
|
|
('foot', 'dark gray', 'default'),
|
|
|
|
('title', 'white,bold', 'default',),
|
|
|
|
('editline', 'white', 'default',),
|
|
|
|
|
|
|
|
# Status bar & heading
|
|
|
|
('heading', 'light gray', 'light cyan',),
|
|
|
|
('heading_key', 'dark blue', 'white',),
|
2012-07-01 07:03:20 +00:00
|
|
|
('heading_inactive', 'light cyan', 'light gray',),
|
2012-06-29 10:24:59 +00:00
|
|
|
|
|
|
|
# Help
|
|
|
|
('key', 'dark blue', 'default',),
|
|
|
|
('head', 'white,underline', 'default'),
|
|
|
|
('text', 'light cyan', 'default'),
|
|
|
|
|
|
|
|
# List and Connections
|
|
|
|
('method', 'dark cyan', 'default'),
|
|
|
|
('focus', 'white', 'default'),
|
|
|
|
|
|
|
|
('code_200', 'dark green', 'default'),
|
|
|
|
('code_300', 'light blue', 'default'),
|
|
|
|
('code_400', 'dark red', 'default',),
|
|
|
|
('code_500', 'dark red', 'default'),
|
|
|
|
('code_other', 'light red', 'default'),
|
|
|
|
|
|
|
|
('error', 'light red', 'default'),
|
|
|
|
|
|
|
|
('header', 'yellow', 'default'),
|
|
|
|
('highlight', 'white', 'default'),
|
|
|
|
('intercept', 'brown', 'default',),
|
|
|
|
('replay', 'dark green', 'default',),
|
|
|
|
('ack', 'dark red', 'default'),
|
|
|
|
|
|
|
|
# Hex view
|
|
|
|
('offset', 'yellow', 'default'),
|
|
|
|
('text', 'light cyan', 'default'),
|
|
|
|
|
|
|
|
# Grid Editor
|
|
|
|
('focusfield', 'white', 'light cyan'),
|
|
|
|
('focusfield_error', 'dark red', 'light gray'),
|
|
|
|
('field_error', 'dark red', 'black'),
|
|
|
|
('editfield', 'black', 'light gray'),
|
2012-06-30 05:37:38 +00:00
|
|
|
],
|
2012-06-29 10:24:59 +00:00
|
|
|
|
|
|
|
# For light backgrounds
|
2012-06-30 05:37:38 +00:00
|
|
|
'solarized_light': [
|
2012-06-29 10:24:59 +00:00
|
|
|
('body', 'dark cyan', 'default'),
|
|
|
|
('foot', 'dark gray', 'default'),
|
2012-06-29 14:58:28 +00:00
|
|
|
('title', 'white,bold', 'light cyan',),
|
2012-06-29 10:24:59 +00:00
|
|
|
('editline', 'white', 'default',),
|
|
|
|
|
|
|
|
# Status bar & heading
|
2012-07-01 07:03:20 +00:00
|
|
|
('heading', 'light cyan', 'light gray',),
|
2012-06-29 10:24:59 +00:00
|
|
|
('heading_key', 'dark blue', 'white',),
|
2012-07-01 07:03:20 +00:00
|
|
|
('heading_inactive', 'white', 'light gray',),
|
2012-06-29 10:24:59 +00:00
|
|
|
|
|
|
|
# Help
|
|
|
|
('key', 'dark blue', 'default',),
|
|
|
|
('head', 'black,underline', 'default'),
|
|
|
|
('text', 'light cyan', 'default'),
|
|
|
|
|
|
|
|
# List and Connections
|
|
|
|
('method', 'dark cyan', 'default'),
|
|
|
|
('focus', 'black', 'default'),
|
|
|
|
|
|
|
|
('code_200', 'dark green', 'default'),
|
|
|
|
('code_300', 'light blue', 'default'),
|
|
|
|
('code_400', 'dark red', 'default',),
|
|
|
|
('code_500', 'dark red', 'default'),
|
|
|
|
('code_other', 'light red', 'default'),
|
|
|
|
|
|
|
|
('error', 'light red', 'default'),
|
|
|
|
|
|
|
|
('header', 'light cyan', 'default'),
|
|
|
|
('highlight', 'black,bold', 'default'),
|
|
|
|
('intercept', 'brown', 'default',),
|
|
|
|
('replay', 'dark green', 'default',),
|
|
|
|
('ack', 'dark red', 'default'),
|
|
|
|
|
|
|
|
# Hex view
|
|
|
|
('offset', 'light cyan', 'default'),
|
|
|
|
('text', 'yellow', 'default'),
|
|
|
|
|
|
|
|
# Grid Editor
|
|
|
|
('focusfield', 'black', 'light gray'),
|
|
|
|
('focusfield_error', 'dark red', 'light gray'),
|
|
|
|
('field_error', 'dark red', 'black'),
|
|
|
|
('editfield', 'white', 'light cyan'),
|
2012-06-30 05:37:38 +00:00
|
|
|
],
|
|
|
|
|
|
|
|
}
|