codekingpro/portable-devtools
114k
1"""2 pygments.styles.inkpot3 ~~~~~~~~~~~~~~~~~~~~~~4 5 A highlighting style for Pygments, inspired by the Inkpot theme for VIM.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 Text, Other, Keyword, Name, Comment, String, \13 Error, Number, Operator, Generic, Whitespace, Punctuation14 15 16__all__ = ['InkPotStyle']17 18 19class InkPotStyle(Style):20 name = 'inkpot'21 22 background_color = "#1e1e27"23 24 styles = {25 Text: "#cfbfad",26 Other: "#cfbfad",27 Whitespace: "#434357",28 Comment: "#cd8b00",29 Comment.Preproc: "#409090",30 Comment.PreprocFile: "bg:#404040 #ffcd8b",31 Comment.Special: "#808bed",32 33 Keyword: "#808bed",34 Keyword.Pseudo: "nobold",35 Keyword.Type: "#ff8bff",36 37 Operator: "#666666",38 39 Punctuation: "#cfbfad",40 41 Name: "#cfbfad",42 Name.Attribute: "#cfbfad",43 Name.Builtin.Pseudo: '#ffff00',44 Name.Builtin: "#808bed",45 Name.Class: "#ff8bff",46 Name.Constant: "#409090",47 Name.Decorator: "#409090",48 Name.Exception: "#ff0000",49 Name.Function: "#c080d0",50 Name.Label: "#808bed",51 Name.Namespace: "#ff0000",52 Name.Variable: "#cfbfad",53 54 String: "bg:#404040 #ffcd8b",55 String.Doc: "#808bed",56 57 Number: "#f0ad6d",58 59 Generic.Heading: "bold #000080",60 Generic.Subheading: "bold #800080",61 Generic.Deleted: "#A00000",62 Generic.Inserted: "#00A000",63 Generic.Error: "#FF0000",64 Generic.Emph: "italic",65 Generic.Strong: "bold",66 Generic.EmphStrong: "bold italic",67 Generic.Prompt: "bold #000080",68 Generic.Output: "#888",69 Generic.Traceback: "#04D",70 71 Error: "bg:#6e2e2e #ffffff"72 }73 