1# -*- coding: utf-8 -*- 2""" 3 pygments.styles.inkpot 4 ~~~~~~~~~~~~~~~~~~~~~~ 5 6 A highlighting style for Pygments, inspired by the Inkpot theme for VIM. 7 8 :copyright: Copyright 2006-2019 by the Pygments team, see AUTHORS. 9 :license: BSD, see LICENSE for details. 10""" 11 12from pygments.style import Style 13from pygments.token import Text, Other, Keyword, Name, Comment, String, \ 14 Error, Number, Operator, Generic, Whitespace, Punctuation 15 16 17class InkPotStyle(Style): 18 background_color = "#1e1e27" 19 default_style = "" 20 styles = { 21 Text: "#cfbfad", 22 Other: "#cfbfad", 23 Whitespace: "#434357", 24 Comment: "#cd8b00", 25 Comment.Preproc: "#409090", 26 Comment.PreprocFile: "bg:#404040 #ffcd8b", 27 Comment.Special: "#808bed", 28 29 Keyword: "#808bed", 30 Keyword.Pseudo: "nobold", 31 Keyword.Type: "#ff8bff", 32 33 Operator: "#666666", 34 35 Punctuation: "#cfbfad", 36 37 Name: "#cfbfad", 38 Name.Attribute: "#cfbfad", 39 Name.Builtin.Pseudo: '#ffff00', 40 Name.Builtin: "#808bed", 41 Name.Class: "#ff8bff", 42 Name.Constant: "#409090", 43 Name.Decorator: "#409090", 44 Name.Exception: "#ff0000", 45 Name.Function: "#c080d0", 46 Name.Label: "#808bed", 47 Name.Namespace: "#ff0000", 48 Name.Variable: "#cfbfad", 49 50 String: "bg:#404040 #ffcd8b", 51 String.Doc: "#808bed", 52 53 Number: "#f0ad6d", 54 55 Generic.Heading: "bold #000080", 56 Generic.Subheading: "bold #800080", 57 Generic.Deleted: "#A00000", 58 Generic.Inserted: "#00A000", 59 Generic.Error: "#FF0000", 60 Generic.Emph: "italic", 61 Generic.Strong: "bold", 62 Generic.Prompt: "bold #000080", 63 Generic.Output: "#888", 64 Generic.Traceback: "#04D", 65 66 Error: "bg:#6e2e2e #ffffff" 67 } 68