batgrl.colors.colors#

Commonly used colors.

Module Attributes

WHITE

White.

BLACK

Black.

RED

Red.

GREEN

Green.

BLUE

Blue.

YELLOW

Yellow.

CYAN

Cyan.

MAGENTA

Magenta.

AWHITE

Opaque white.

ABLACK

Opaque black.

ARED

Opaque red.

AGREEN

Opaque green.

ABLUE

Opaque blue.

AYELLOW

Opaque yellow.

ACYAN

Opaque cyan.

AMAGENTA

Opaque magenta.

TRANSPARENT

Transparent black.

NEPTUNE_THEME

Neptune color theme.

NEPTUNE_PRIMARY_FG

The primary foreground color for the Neptune color theme.

NEPTUNE_PRIMARY_BG

The primary background color for the Neptune color theme.

Classes

Neptune()

Default syntax highlight color theme.

batgrl.colors.colors.ABLACK: Final = (0, 0, 0, 255)#

Opaque black.

batgrl.colors.colors.ABLUE: Final = (0, 0, 255, 255)#

Opaque blue.

batgrl.colors.colors.ACYAN: Final = (0, 255, 255, 255)#

Opaque cyan.

batgrl.colors.colors.AGREEN: Final = (0, 255, 0, 255)#

Opaque green.

batgrl.colors.colors.AMAGENTA: Final = (255, 0, 255, 255)#

Opaque magenta.

batgrl.colors.colors.ARED: Final = (255, 0, 0, 255)#

Opaque red.

batgrl.colors.colors.AWHITE: Final = (255, 255, 255, 255)#

Opaque white.

batgrl.colors.colors.AYELLOW: Final = (255, 255, 0, 255)#

Opaque yellow.

batgrl.colors.colors.BLACK: Final = (0, 0, 0)#

Black.

batgrl.colors.colors.BLUE: Final = (0, 0, 255)#

Blue.

batgrl.colors.colors.CYAN: Final = (0, 255, 255)#

Cyan.

batgrl.colors.colors.GREEN: Final = (0, 255, 0)#

Green.

batgrl.colors.colors.MAGENTA: Final = (255, 0, 255)#

Magenta.

batgrl.colors.colors.NEPTUNE_PRIMARY_BG: Final = (7, 12, 37)#

The primary background color for the Neptune color theme.

batgrl.colors.colors.NEPTUNE_PRIMARY_FG: Final = (246, 167, 169)#

The primary foreground color for the Neptune color theme.

batgrl.colors.colors.NEPTUNE_THEME: Final[ColorTheme] = {'button_disallowed_bg': '070c25', 'button_disallowed_fg': '272b40', 'button_hover_bg': '3248c0', 'button_hover_fg': 'fff0f6', 'button_normal_bg': '2a3ca0', 'button_normal_fg': 'dde4ed', 'button_press_bg': 'c4a219', 'button_press_fg': 'fff0f6', 'data_table_hover_bg': '111834', 'data_table_hover_fg': 'f6a7a9', 'data_table_selected_bg': '111f5e', 'data_table_selected_fg': 'ecf3ff', 'data_table_selected_hover_bg': '1b244b', 'data_table_selected_hover_fg': 'ecf3ff', 'data_table_sort_indicator_bg': '070c25', 'data_table_sort_indicator_fg': 'ecf3ff', 'data_table_stripe_bg': '0b1238', 'data_table_stripe_fg': 'f6a7a9', 'data_table_stripe_hover_bg': '0f184a', 'data_table_stripe_hover_fg': 'f6a7a9', 'markdown_block_code_bg': '080b1a', 'markdown_header_bg': '030612', 'markdown_image_bg': '0c1540', 'markdown_image_fg': 'f6a7a9', 'markdown_inline_code_bg': '080b1a', 'markdown_inline_code_fg': '806ae5', 'markdown_link_bg': '070c25', 'markdown_link_fg': '376cff', 'markdown_link_hover_bg': '070c25', 'markdown_link_hover_fg': '4668ff', 'markdown_quote_bg': '0c1b4b', 'markdown_quote_block_code_bg': '11265d', 'markdown_quote_fg': '2054e2', 'markdown_title_bg': '292a2d', 'markdown_title_fg': 'cfd1d4', 'menu_item_disallowed_bg': '070c25', 'menu_item_disallowed_fg': '272b40', 'menu_item_hover_bg': '111834', 'menu_item_hover_fg': 'f2babc', 'menu_item_selected_bg': '1b244b', 'menu_item_selected_fg': 'ecf3ff', 'primary_bg': '070c25', 'primary_fg': 'f6a7a9', 'progress_bar_bg': '2a3ca0', 'progress_bar_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', 'text_pad_line_highlight_fg': 'f6a7a9', 'text_pad_selection_highlight_bg': '0f1847', 'text_pad_selection_highlight_fg': 'f6a7a9', 'textbox_placeholder_bg': '070c25', 'textbox_placeholder_fg': '2a3a92', 'textbox_primary_bg': '070c25', 'textbox_primary_fg': 'fff0f6', 'textbox_selection_highlight_bg': '0f1847', 'textbox_selection_highlight_fg': 'fff0f6', 'titlebar_inactive_bg': '070c25', 'titlebar_inactive_fg': '7d6b71', 'titlebar_normal_bg': '070c25', 'titlebar_normal_fg': 'ffe0df', 'window_border_inactive': '282c3e', 'window_border_normal': '122162'}#

Neptune color theme.

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.

batgrl.colors.colors.RED: Final = (255, 0, 0)#

Red.

batgrl.colors.colors.TRANSPARENT: Final = (0, 0, 0, 0)#

Transparent black.

batgrl.colors.colors.WHITE: Final = (255, 255, 255)#

White.

batgrl.colors.colors.YELLOW: Final = (255, 255, 0)#

Yellow.