batgrl.colors.colors#
Commonly used colors.
Module Attributes
White. |
|
Black. |
|
Red. |
|
Green. |
|
Blue. |
|
Yellow. |
|
Cyan. |
|
Magenta. |
|
Opaque white. |
|
Opaque black. |
|
Opaque red. |
|
Opaque green. |
|
Opaque blue. |
|
Opaque yellow. |
|
Opaque cyan. |
|
Opaque magenta. |
|
Transparent black. |
|
Default color theme. |
|
Default primary foreground color. |
|
Default primary background color. |
Classes
|
Default syntax highlight color theme. |
- batgrl.colors.colors.ABLACK = (0, 0, 0, 255)#
Opaque black.
- batgrl.colors.colors.ABLUE = (0, 0, 255, 255)#
Opaque blue.
- batgrl.colors.colors.ACYAN = (0, 255, 255, 255)#
Opaque cyan.
- batgrl.colors.colors.AGREEN = (0, 255, 0, 255)#
Opaque green.
- batgrl.colors.colors.AMAGENTA = (255, 0, 255, 255)#
Opaque magenta.
- batgrl.colors.colors.ARED = (255, 0, 0, 255)#
Opaque red.
- batgrl.colors.colors.AWHITE = (255, 255, 255, 255)#
Opaque white.
- batgrl.colors.colors.AYELLOW = (255, 255, 0, 255)#
Opaque yellow.
- batgrl.colors.colors.BLACK = (0, 0, 0)#
Black.
- batgrl.colors.colors.BLUE = (0, 0, 255)#
Blue.
- batgrl.colors.colors.CYAN = (0, 255, 255)#
Cyan.
- batgrl.colors.colors.DEFAULT_COLOR_THEME: ColorTheme = {'button_disallowed': {'bg': '070c25', 'fg': '272b40'}, 'button_hover': {'bg': '3248c0', 'fg': 'fff0f6'}, 'button_normal': {'bg': '2a3ca0', 'fg': 'dde4ed'}, 'button_press': {'bg': 'c4a219', 'fg': 'fff0f6'}, 'data_table_hover': {'bg': '111834', 'fg': 'f6a7a9'}, 'data_table_selected': {'bg': '111f5e', 'fg': 'ecf3ff'}, 'data_table_selected_hover': {'bg': '1b244b', 'fg': 'ecf3ff'}, 'data_table_sort_indicator': {'bg': '070c25', 'fg': 'ecf3ff'}, 'data_table_stripe': {'bg': '0b1238', 'fg': 'f6a7a9'}, 'data_table_stripe_hover': {'bg': '0f184a', 'fg': 'f6a7a9'}, 'markdown_block_code_background': '080b1a', 'markdown_header_background': '030612', 'markdown_image': {'bg': '0c1540', 'fg': 'f6a7a9'}, 'markdown_inline_code': {'bg': '080b1a', 'fg': '806ae5'}, 'markdown_link': {'bg': '070c25', 'fg': '376cff'}, 'markdown_link_hover': {'bg': '070c25', 'fg': '4668ff'}, 'markdown_quote': {'bg': '0c1b4b', 'fg': '2054e2'}, 'markdown_quote_block_code_background': '11265d', 'markdown_title': {'bg': '292a2d', 'fg': 'cfd1d4'}, 'menu_item_disallowed': {'bg': '070c25', 'fg': '272b40'}, 'menu_item_hover': {'bg': '111834', 'fg': 'f2babc'}, 'menu_item_selected': {'bg': '1b244b', 'fg': 'ecf3ff'}, 'primary': {'bg': '070c25', 'fg': 'f6a7a9'}, 'progress_bar': {'bg': '2a3ca0', 'fg': 'ffe0df'}, 'scroll_view_indicator_hover': '111e4f', 'scroll_view_indicator_normal': '0e1843', 'scroll_view_indicator_press': '172868', 'scroll_view_scrollbar': '070c25', 'text_pad_line_highlight': {'bg': '0c0e30', 'fg': 'f6a7a9'}, 'text_pad_selection_highlight': {'bg': '0f1847', 'fg': 'f6a7a9'}, 'textbox_placeholder': {'bg': '070c25', 'fg': '2a3a92'}, 'textbox_primary': {'bg': '070c25', 'fg': 'fff0f6'}, 'textbox_selection_highlight': {'bg': '0f1847', 'fg': 'fff0f6'}, 'titlebar_inactive': {'bg': '070c25', 'fg': '7d6b71'}, 'titlebar_normal': {'bg': '070c25', 'fg': 'ffe0df'}, 'window_border_inactive': '282c3e', 'window_border_normal': '122162'}#
Default color theme.
- batgrl.colors.colors.DEFAULT_PRIMARY_BG = (7, 12, 37)#
Default primary background color.
- batgrl.colors.colors.DEFAULT_PRIMARY_FG = (246, 167, 169)#
Default primary foreground color.
- batgrl.colors.colors.GREEN = (0, 255, 0)#
Green.
- batgrl.colors.colors.MAGENTA = (255, 0, 255)#
Magenta.
- class batgrl.colors.colors.Neptune#
Bases:
Style
Default syntax highlight color theme.
This style is adapted from yl92/paddy-color-theme.
- aliases = []#
- background_color = '#070c25'#
overall background color (
None
means transparent)
- highlight_color = '#5f32db'#
highlight background color
- line_number_background_color = '#070c25'#
line number background color
- line_number_color = '#527bff'#
line number font color
- line_number_special_background_color = '#5f32db'#
special line number background color
- line_number_special_color = '#2f3adf'#
special line number font color
- name = 'neptune'#
- styles = {(): '#f6a7a9', ('Comment',): '#554492', ('Comment', 'Hashbang'): '', ('Comment', 'Multiline'): '', ('Comment', 'Preproc'): '', ('Comment', 'PreprocFile'): '', ('Comment', 'Single'): '', ('Comment', 'Special'): '#978d7a', ('Error',): 'bold #d32e11', ('Escape',): '', ('Generic',): '#f6a7a9', ('Generic', 'Deleted'): 'bold bg:#cf5076 #309388', ('Generic', 'Emph'): 'italic', ('Generic', 'EmphStrong'): 'bold italic', ('Generic', 'Error'): 'bold #d32e11', ('Generic', 'Heading'): '#da5656', ('Generic', 'Inserted'): 'bg:#4d67ff #da7763', ('Generic', 'Output'): '#69a097', ('Generic', 'Prompt'): '', ('Generic', 'Strong'): 'bold', ('Generic', 'Subheading'): '#da5656', ('Generic', 'Traceback'): 'bold #de9138', ('Generic', 'Underline'): 'underline', ('Keyword',): '#5bb177', ('Keyword', 'Constant'): 'bold #91a5bd', ('Keyword', 'Declaration'): '', ('Keyword', 'Namespace'): '', ('Keyword', 'Pseudo'): '#e28f37', ('Keyword', 'Reserved'): '', ('Keyword', 'Type'): '', ('Literal',): '#da7763', ('Literal', 'Date'): '', ('Literal', 'Number'): '#e47559', ('Literal', 'Number', 'Bin'): '', ('Literal', 'Number', 'Float'): '', ('Literal', 'Number', 'Hex'): '', ('Literal', 'Number', 'Integer'): '', ('Literal', 'Number', 'Integer', 'Long'): '', ('Literal', 'Number', 'Oct'): '', ('Literal', 'String'): '#da7763', ('Literal', 'String', 'Affix'): '#c75974', ('Literal', 'String', 'Backtick'): '', ('Literal', 'String', 'Char'): '', ('Literal', 'String', 'Delimiter'): '', ('Literal', 'String', 'Doc'): '', ('Literal', 'String', 'Double'): '', ('Literal', 'String', 'Escape'): '#62A594', ('Literal', 'String', 'Heredoc'): '', ('Literal', 'String', 'Interpol'): '', ('Literal', 'String', 'Other'): '', ('Literal', 'String', 'Regex'): '#d46fbe', ('Literal', 'String', 'Single'): '', ('Literal', 'String', 'Symbol'): '', ('Name',): '#f6a7a9', ('Name', 'Attribute'): '', ('Name', 'Builtin'): '', ('Name', 'Builtin', 'Pseudo'): '', ('Name', 'Class'): 'bold #de9138', ('Name', 'Constant'): '#17c78c', ('Name', 'Decorator'): '#d85757', ('Name', 'Entity'): '', ('Name', 'Exception'): 'bold #de9138', ('Name', 'Function'): '#d85757', ('Name', 'Function', 'Magic'): '', ('Name', 'Label'): '#f6a7a9', ('Name', 'Namespace'): '', ('Name', 'Other'): '', ('Name', 'Property'): '#f6a7a9', ('Name', 'Tag'): 'bold #309388', ('Name', 'Variable'): '#f6a7a9', ('Name', 'Variable', 'Class'): '', ('Name', 'Variable', 'Global'): '', ('Name', 'Variable', 'Instance'): '', ('Name', 'Variable', 'Magic'): '', ('Operator',): '#5bb177', ('Operator', 'Word'): '', ('Other',): '', ('Punctuation',): '', ('Punctuation', 'Marker'): '', ('Text',): '#f6a7a9', ('Text', 'Whitespace'): ''}#
Style definitions for individual token types.
- web_style_gallery_exclude = False#
- batgrl.colors.colors.RED = (255, 0, 0)#
Red.
- batgrl.colors.colors.TRANSPARENT = (0, 0, 0, 0)#
Transparent black.
- batgrl.colors.colors.WHITE = (255, 255, 255)#
White.
- batgrl.colors.colors.YELLOW = (255, 255, 0)#
Yellow.