Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
stata_light.py43 linesDownload Raw Back to styles
1"""2    pygments.styles.stata_light3    ~~~~~~~~~~~~~~~~~~~~~~~~~~~4 5    Light Style inspired by Stata's do-file editor. Note this is not6    meant to be a complete style, just for Stata's file formats.7 8    :copyright: Copyright 2006-present by the Pygments team, see AUTHORS.9    :license: BSD, see LICENSE for details.10"""11 12from pygments.style import Style13from pygments.token import Keyword, Name, Comment, String, Error, \14    Number, Operator, Whitespace, Text15 16 17__all__ = ['StataLightStyle']18 19 20class StataLightStyle(Style):21    """22    Light mode style inspired by Stata's do-file editor. This is not23    meant to be a complete style, just for use with Stata.24    """25 26    name = 'stata-light'27    28    styles = {29        Text:                  '#111111',30        Whitespace:            '#bbbbbb',31        Error:                 'bg:#e3d2d2 #a61717',32        String:                '#7a2424',33        Number:                '#2c2cff',34        Operator:              '',35        Name.Function:         '#2c2cff',36        Name.Other:            '#be646c',37        Keyword:               'bold #353580',38        Keyword.Constant:      '',39        Comment:               'italic #008800',40        Name.Variable:         'bold #35baba',41        Name.Variable.Global:  'bold #b5565e',42    }43