codekingpro/portable-devtools
115k
1"""2 pygments.styles.default3 ~~~~~~~~~~~~~~~~~~~~~~~4 5 The default highlighting style.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, Whitespace14 15 16__all__ = ['DefaultStyle']17 18 19class DefaultStyle(Style):20 """21 The default style (inspired by Emacs 22).22 """23 name = 'default'24 25 background_color = "#f8f8f8"26 27 styles = {28 Whitespace: "#bbbbbb",29 Comment: "italic #3D7B7B",30 Comment.Preproc: "noitalic #9C6500",31 32 #Keyword: "bold #AA22FF",33 Keyword: "bold #008000",34 Keyword.Pseudo: "nobold",35 Keyword.Type: "nobold #B00040",36 37 Operator: "#666666",38 Operator.Word: "bold #AA22FF",39 40 Name.Builtin: "#008000",41 Name.Function: "#0000FF",42 Name.Class: "bold #0000FF",43 Name.Namespace: "bold #0000FF",44 Name.Exception: "bold #CB3F38",45 Name.Variable: "#19177C",46 Name.Constant: "#880000",47 Name.Label: "#767600",48 Name.Entity: "bold #717171",49 Name.Attribute: "#687822",50 Name.Tag: "bold #008000",51 Name.Decorator: "#AA22FF",52 53 String: "#BA2121",54 String.Doc: "italic",55 String.Interpol: "bold #A45A77",56 String.Escape: "bold #AA5D1F",57 String.Regex: "#A45A77",58 #String.Symbol: "#B8860B",59 String.Symbol: "#19177C",60 String.Other: "#008000",61 Number: "#666666",62 63 Generic.Heading: "bold #000080",64 Generic.Subheading: "bold #800080",65 Generic.Deleted: "#A00000",66 Generic.Inserted: "#008400",67 Generic.Error: "#E40000",68 Generic.Emph: "italic",69 Generic.Strong: "bold",70 Generic.EmphStrong: "bold italic",71 Generic.Prompt: "bold #000080",72 Generic.Output: "#717171",73 Generic.Traceback: "#04D",74 75 Error: "border:#FF0000"76 }77 