1# -*- coding: utf-8 -*- 2""" 3 pygments.styles.native 4 ~~~~~~~~~~~~~~~~~~~~~~ 5 6 pygments version of my "native" vim theme. 7 8 :copyright: Copyright 2006-2020 by the Pygments team, see AUTHORS. 9 :license: BSD, see LICENSE for details. 10""" 11 12from pygments.style import Style 13from pygments.token import Keyword, Name, Comment, String, Error, \ 14 Number, Operator, Generic, Token, Whitespace 15 16 17class NativeStyle(Style): 18 """ 19 Pygments version of the "native" vim theme. 20 """ 21 22 background_color = '#202020' 23 highlight_color = '#404040' 24 25 styles = { 26 Token: '#d0d0d0', 27 Whitespace: '#666666', 28 29 Comment: 'italic #999999', 30 Comment.Preproc: 'noitalic bold #cd2828', 31 Comment.Special: 'noitalic bold #e50808 bg:#520000', 32 33 Keyword: 'bold #6ab825', 34 Keyword.Pseudo: 'nobold', 35 Operator.Word: 'bold #6ab825', 36 37 String: '#ed9d13', 38 String.Other: '#ffa500', 39 40 Number: '#3677a9', 41 42 Name.Builtin: '#24909d', 43 Name.Variable: '#40ffff', 44 Name.Constant: '#40ffff', 45 Name.Class: 'underline #447fcf', 46 Name.Function: '#447fcf', 47 Name.Namespace: 'underline #447fcf', 48 Name.Exception: '#bbbbbb', 49 Name.Tag: 'bold #6ab825', 50 Name.Attribute: '#bbbbbb', 51 Name.Decorator: '#ffa500', 52 53 Generic.Heading: 'bold #ffffff', 54 Generic.Subheading: 'underline #ffffff', 55 Generic.Deleted: '#d22323', 56 Generic.Inserted: '#589819', 57 Generic.Error: '#d22323', 58 Generic.Emph: 'italic', 59 Generic.Strong: 'bold', 60 Generic.Prompt: '#aaaaaa', 61 Generic.Output: '#cccccc', 62 Generic.Traceback: '#d22323', 63 64 Error: 'bg:#e3d2d2 #a61717' 65 } 66