Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
stata_dark.py43 linesDownload Raw Back to styles
1"""2    pygments.styles.stata_dark3    ~~~~~~~~~~~~~~~~~~~~~~~~~~4 5    Dark 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 9    :copyright: Copyright 2006-present by the Pygments team, see AUTHORS.10    :license: BSD, see LICENSE for details.11"""12 13from pygments.style import Style14from pygments.token import Token, Keyword, Name, Comment, String, Error, \15    Number, Operator, Whitespace, Generic16 17 18__all__ = ['StataDarkStyle']19 20 21class StataDarkStyle(Style):22    name = 'stata-dark'23    24    background_color = "#232629"25    highlight_color = "#49483e"26 27    styles = {28        Token:                 '#cccccc',29        Whitespace:            '#bbbbbb',30        Error:                 'bg:#e3d2d2 #a61717',31        String:                '#51cc99',32        Number:                '#4FB8CC',33        Operator:              '',34        Name.Function:         '#6a6aff',35        Name.Other:            '#e2828e',36        Keyword:               'bold #7686bb',37        Keyword.Constant:      '',38        Comment:               'italic #777777',39        Name.Variable:         'bold #7AB4DB',40        Name.Variable.Global:  'bold #BE646C',41        Generic.Prompt:        '#ffffff',42    }43 
codekingpro/portable-devtools · Team Ai