Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
zenburn.py84 linesDownload Raw Back to styles
1"""2    pygments.styles.zenburn3    ~~~~~~~~~~~~~~~~~~~~~~~4 5    Low contrast color scheme Zenburn.6 7    See: https://kippura.org/zenburnpage/8         https://github.com/jnurmine/Zenburn9 10    :copyright: Copyright 2006-2024 by the Pygments team, see AUTHORS.11    :license: BSD, see LICENSE for details.12"""13 14from pygments.style import Style15from pygments.token import Token, Name, Operator, Keyword, Generic, Comment, \16    Number, String, Literal, Punctuation, Error17 18 19__all__ = ['ZenburnStyle']20 21 22class ZenburnStyle(Style):23    """24    Low contrast Zenburn style.25    """26 27    name = 'zenburn'28    29    background_color = '#3f3f3f'30    highlight_color = '#484848'31    line_number_color = '#5d6262'32    line_number_background_color = '#353535'33    line_number_special_color = '#7a8080'34    line_number_special_background_color = '#353535'35 36    styles = {37        Token: '#dcdccc',38        Error: '#e37170 bold',39 40        Keyword: '#efdcbc',41        Keyword.Type: '#dfdfbf bold',42        Keyword.Constant: '#dca3a3',43        Keyword.Declaration: '#f0dfaf',44        Keyword.Namespace: '#f0dfaf',45 46        Name: '#dcdccc',47        Name.Tag: '#e89393 bold',48        Name.Entity: '#cfbfaf',49        Name.Constant: '#dca3a3',50        Name.Class: '#efef8f',51        Name.Function: '#efef8f',52        Name.Builtin: '#efef8f',53        Name.Builtin.Pseudo: '#dcdccc',54        Name.Attribute: '#efef8f',55        Name.Exception: '#c3bf9f bold',56 57        Literal: '#9fafaf',58 59        String: '#cc9393',60        String.Doc: '#7f9f7f',61        String.Interpol: '#dca3a3 bold',62 63        Number: '#8cd0d3',64        Number.Float: '#c0bed1',65 66        Operator: '#f0efd0',67 68        Punctuation: '#f0efd0',69 70        Comment: '#7f9f7f italic',71        Comment.Preproc: '#dfaf8f bold',72        Comment.PreprocFile: '#cc9393',73        Comment.Special: '#dfdfdf bold',74 75        Generic: '#ecbcbc bold',76        Generic.Emph: '#ffffff bold',77        Generic.Output: '#5b605e bold',78        Generic.Heading: '#efefef bold',79        Generic.Deleted: '#c3bf9f bg:#313c36',80        Generic.Inserted: '#709080 bg:#313c36 bold',81        Generic.Traceback: '#80d4aa bg:#2f2f2f bold',82        Generic.Subheading: '#efefef bold',83    }84 
codekingpro/portable-devtools · Team Ai