Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
onedark.py64 linesDownload Raw Back to styles
1"""2    pygments.styles.onedark3    ~~~~~~~~~~~~~~~~~~~~~~~4 5    One Dark Theme for Pygments by Tobias Zoghaib (https://github.com/TobiZog)6 7    Inspired by one-dark-ui for the code editor Atom8    (https://atom.io/themes/one-dark-ui).9 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 Comment, Keyword, Name, Number, Operator, \16    Punctuation, String, Token17 18 19__all__ = ['OneDarkStyle']20 21 22class OneDarkStyle(Style):23    """24    Theme inspired by One Dark Pro for Atom.25 26    .. versionadded:: 2.1127    """28    name = 'one-dark'29    30    background_color = '#282C34'31 32    styles = {33        Token:                  '#ABB2BF',34 35        Punctuation:            '#ABB2BF',36        Punctuation.Marker:     '#ABB2BF',37 38        Keyword:                '#C678DD',39        Keyword.Constant:       '#E5C07B',40        Keyword.Declaration:    '#C678DD',41        Keyword.Namespace:      '#C678DD',42        Keyword.Reserved:       '#C678DD',43        Keyword.Type:           '#E5C07B',44 45        Name:                   '#E06C75',46        Name.Attribute:         '#E06C75',47        Name.Builtin:           '#E5C07B',48        Name.Class:             '#E5C07B',49        Name.Function:          'bold #61AFEF',50        Name.Function.Magic:    'bold #56B6C2',51        Name.Other:             '#E06C75',52        Name.Tag:               '#E06C75',53        Name.Decorator:         '#61AFEF',54        Name.Variable.Class:    '',55 56        String:                 '#98C379',57 58        Number:                 '#D19A66',59 60        Operator:               '#56B6C2',61 62        Comment:                '#7F848E'63    }64 
codekingpro/portable-devtools · Team Ai