1from __future__ import absolute_import 2from pygments.style import Style 3from pygments.token import * 4 5 6class pygapp2(Style): 7 background_color = "#FAFAFA" 8 default_style = "" 9 10 styles = { 11 Whitespace: "nobold noitalic #FFF", 12 Comment: "nobold noitalic #800", 13 Comment.Preproc: "nobold noitalic #800", 14 Comment.Special: "nobold noitalic bg:#800", 15 16 Keyword: "nobold noitalic #008", 17 Keyword.Pseudo: "nobold noitalic #008", 18 Keyword.Type: "nobold noitalic #902000", 19 20 Operator: "nobold noitalic #660", 21 Operator.Word: "nobold noitalic #660", 22 23 Name.Builtin: "nobold noitalic #008", 24 Name.Function: "nobold noitalic #000", 25 Name.Class: "nobold noitalic #606", 26 Name.Namespace: "nobold noitalic #000", 27 Name.Exception: "nobold noitalic #000", 28 Name.Variable: "nobold noitalic #000", 29 Name.Constant: "nobold noitalic #000", 30 Name.Label: "nobold noitalic #000", 31 Name.Entity: "nobold noitalic #000", 32 Name.Attribute: "nobold noitalic #000", 33 Name.Tag: "nobold noitalic #000", 34 Name.Decorator: "nobold noitalic #000", 35 36 String: "nobold noitalic #080", 37 String.Doc: "nobold noitalic #080", 38 String.Interpol: "nobold noitalic #080", 39 String.Escape: "nobold noitalic #080", 40 String.Regex: "nobold noitalic #080", 41 String.Symbol: "nobold noitalic #660", 42 String.Other: "nobold noitalic #080", 43 Number: "nobold noitalic #080", 44 45 Generic.Heading: "nobold noitalic #000", 46 Generic.Subheading: "nobold noitalic #000", 47 Generic.Deleted: "nobold noitalic #000", 48 Generic.Inserted: "nobold noitalic #000", 49 Generic.Error: "nobold noitalic #000", 50 Generic.Emph: "nobold noitalic #000", 51 Generic.Strong: "nobold noitalic #000", 52 Generic.Prompt: "nobold noitalic #000", 53 Generic.Output: "nobold noitalic #000", 54 Generic.Traceback: "nobold noitalic #000", 55 56 Error: "nobold noitalic border:#FF0000" 57 } 58