Skip to content
Snippets Groups Projects
Commit dd8930ad authored by Phil's avatar Phil
Browse files

Added ColorOnBlackTheme (ticket #138, D. Loss)

parent 0cb2b407
No related branches found
No related tags found
No related merge requests found
...@@ -149,6 +149,30 @@ class RastaTheme(AnsiColorTheme): ...@@ -149,6 +149,30 @@ class RastaTheme(AnsiColorTheme):
style_left = Color.yellow+Color.invert style_left = Color.yellow+Color.invert
style_right = Color.red+Color.invert style_right = Color.red+Color.invert
class ColorOnBlackTheme(AnsiColorTheme):
"""Color theme for black backgrounds"""
style_normal = Color.normal
style_prompt = Color.green+Color.bold
style_punct = Color.normal
style_id = Color.green
style_not_printable = Color.black+Color.bold
style_layer_name = Color.yellow+Color.bold
style_field_name = Color.cyan
style_field_value = Color.purple+Color.bold
style_emph_field_name = Color.cyan+Color.bold
style_emph_field_value = Color.red+Color.bold
style_packetlist_name = Color.black+Color.bold
style_packetlist_proto = Color.yellow+Color.bold
style_packetlist_value = Color.purple+Color.bold
style_fail = Color.red+Color.bold
style_success = Color.green
style_even = Color.black+Color.bold
style_odd = Color.grey
style_opening = Color.yellow
style_active = Color.grey+Color.bold
style_closed = Color.black+Color.bold
style_left = Color.cyan+Color.bold
style_right = Color.red+Color.bold
class FormatTheme(ColorTheme): class FormatTheme(ColorTheme):
def __getattr__(self, attr): def __getattr__(self, attr):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment