codekingpro/portable-devtools
115k
1"""2 pygments.styles.native3 ~~~~~~~~~~~~~~~~~~~~~~4 5 pygments version of my "native" vim theme.6 7 :copyright: Copyright 2006-present 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, Token, Whitespace14 15 16__all__ = ['NativeStyle']17 18 19class NativeStyle(Style):20 """21 Pygments version of the "native" vim theme.22 """23 name = 'native'24 25 background_color = '#202020'26 highlight_color = '#404040'27 line_number_color = '#aaaaaa'28 29 styles = {30 Token: '#d0d0d0',31 Whitespace: '#666666',32 33 Comment: 'italic #ababab',34 Comment.Preproc: 'noitalic bold #ff3a3a',35 Comment.Special: 'noitalic bold #e50808 bg:#520000',36 37 Keyword: 'bold #6ebf26',38 Keyword.Pseudo: 'nobold',39 Operator.Word: 'bold #6ebf26',40 41 String: '#ed9d13',42 String.Other: '#ffa500',43 44 Number: '#51b2fd',45 46 Name.Builtin: '#2fbccd',47 Name.Variable: '#40ffff',48 Name.Constant: '#40ffff',49 Name.Class: 'underline #71adff',50 Name.Function: '#71adff',51 Name.Namespace: 'underline #71adff',52 Name.Exception: '#bbbbbb',53 Name.Tag: 'bold #6ebf26',54 Name.Attribute: '#bbbbbb',55 Name.Decorator: '#ffa500',56 57 Generic.Heading: 'bold #ffffff',58 Generic.Subheading: 'underline #ffffff',59 Generic.Deleted: '#ff3a3a',60 Generic.Inserted: '#589819',61 Generic.Error: '#ff3a3a',62 Generic.Emph: 'italic',63 Generic.Strong: 'bold',64 Generic.EmphStrong: 'bold italic',65 Generic.Prompt: '#aaaaaa',66 Generic.Output: '#cccccc',67 Generic.Traceback: '#ff3a3a',68 69 Error: 'bg:#e3d2d2 #a61717'70 }71 