Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
autumn.py68 linesDownload Raw Back to styles
1"""2    pygments.styles.autumn3    ~~~~~~~~~~~~~~~~~~~~~~4 5    A colorful style, inspired by the terminal highlighting style.6 7    :copyright: Copyright 2006-2024 by the Pygments team, see AUTHORS.8    :license: BSD, see LICENSE for details.9"""10 11from pygments.style import Style12from pygments.token import Keyword, Name, Comment, String, Error, \13     Number, Operator, Generic, Whitespace14 15 16__all__ = ['AutumnStyle']17 18 19class AutumnStyle(Style):20    """21    A colorful style, inspired by the terminal highlighting style.22    """23    name = 'autumn'24 25    styles = {26        Whitespace:                 '#bbbbbb',27 28        Comment:                    'italic #aaaaaa',29        Comment.Preproc:            'noitalic #4c8317',30        Comment.Special:            'italic #0000aa',31 32        Keyword:                    '#0000aa',33        Keyword.Type:               '#00aaaa',34 35        Operator.Word:              '#0000aa',36 37        Name.Builtin:               '#00aaaa',38        Name.Function:              '#00aa00',39        Name.Class:                 'underline #00aa00',40        Name.Namespace:             'underline #00aaaa',41        Name.Variable:              '#aa0000',42        Name.Constant:              '#aa0000',43        Name.Entity:                'bold #800',44        Name.Attribute:             '#1e90ff',45        Name.Tag:                   'bold #1e90ff',46        Name.Decorator:             '#888888',47 48        String:                     '#aa5500',49        String.Symbol:              '#0000aa',50        String.Regex:               '#009999',51 52        Number:                     '#009999',53 54        Generic.Heading:            'bold #000080',55        Generic.Subheading:         'bold #800080',56        Generic.Deleted:            '#aa0000',57        Generic.Inserted:           '#00aa00',58        Generic.Error:              '#aa0000',59        Generic.Emph:               'italic',60        Generic.Strong:             'bold',61        Generic.EmphStrong:         'bold italic',62        Generic.Prompt:             '#555555',63        Generic.Output:             '#888888',64        Generic.Traceback:          '#aa0000',65 66        Error:                      '#F00 bg:#FAA'67    }68 
codekingpro/portable-devtools · Team Ai