Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
murphy.py83 linesDownload Raw Back to styles
1"""2    pygments.styles.murphy3    ~~~~~~~~~~~~~~~~~~~~~~4 5    Murphy's style from CodeRay.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__ = ['MurphyStyle']17 18 19class MurphyStyle(Style):20    """21    Murphy's style from CodeRay.22    """23    name = 'murphy'24    25    styles = {26        Whitespace:                "#bbbbbb",27        Comment:                   "#666 italic",28        Comment.Preproc:           "#579 noitalic",29        Comment.Special:           "#c00 bold",30 31        Keyword:                   "bold #289",32        Keyword.Pseudo:            "#08f",33        Keyword.Type:              "#66f",34 35        Operator:                  "#333",36        Operator.Word:             "bold #000",37 38        Name.Builtin:              "#072",39        Name.Function:             "bold #5ed",40        Name.Class:                "bold #e9e",41        Name.Namespace:            "bold #0e84b5",42        Name.Exception:            "bold #F00",43        Name.Variable:             "#036",44        Name.Variable.Instance:    "#aaf",45        Name.Variable.Class:       "#ccf",46        Name.Variable.Global:      "#f84",47        Name.Constant:             "bold #5ed",48        Name.Label:                "bold #970",49        Name.Entity:               "#800",50        Name.Attribute:            "#007",51        Name.Tag:                  "#070",52        Name.Decorator:            "bold #555",53 54        String:                    "bg:#e0e0ff",55        String.Char:               "#88F bg:",56        String.Doc:                "#D42 bg:",57        String.Interpol:           "bg:#eee",58        String.Escape:             "bold #666",59        String.Regex:              "bg:#e0e0ff #000",60        String.Symbol:             "#fc8 bg:",61        String.Other:              "#f88",62 63        Number:                    "bold #60E",64        Number.Integer:            "bold #66f",65        Number.Float:              "bold #60E",66        Number.Hex:                "bold #058",67        Number.Oct:                "bold #40E",68 69        Generic.Heading:           "bold #000080",70        Generic.Subheading:        "bold #800080",71        Generic.Deleted:           "#A00000",72        Generic.Inserted:          "#00A000",73        Generic.Error:             "#FF0000",74        Generic.Emph:              "italic",75        Generic.Strong:            "bold",76        Generic.EmphStrong:        "bold italic",77        Generic.Prompt:            "bold #c65d09",78        Generic.Output:            "#888",79        Generic.Traceback:         "#04D",80 81        Error:                     "#F00 bg:#FAA"82    }83 
codekingpro/portable-devtools · Team Ai