...

Source file src/github.com/alecthomas/chroma/styles/friendly.go

Documentation: github.com/alecthomas/chroma/styles

     1  package styles
     2  
     3  import (
     4  	"github.com/alecthomas/chroma"
     5  )
     6  
     7  // Friendly style.
     8  var Friendly = Register(chroma.MustNewStyle("friendly", chroma.StyleEntries{
     9  	chroma.TextWhitespace:        "#bbbbbb",
    10  	chroma.Comment:               "italic #60a0b0",
    11  	chroma.CommentPreproc:        "noitalic #007020",
    12  	chroma.CommentSpecial:        "noitalic bg:#fff0f0",
    13  	chroma.Keyword:               "bold #007020",
    14  	chroma.KeywordPseudo:         "nobold",
    15  	chroma.KeywordType:           "nobold #902000",
    16  	chroma.Operator:              "#666666",
    17  	chroma.OperatorWord:          "bold #007020",
    18  	chroma.NameBuiltin:           "#007020",
    19  	chroma.NameFunction:          "#06287e",
    20  	chroma.NameClass:             "bold #0e84b5",
    21  	chroma.NameNamespace:         "bold #0e84b5",
    22  	chroma.NameException:         "#007020",
    23  	chroma.NameVariable:          "#bb60d5",
    24  	chroma.NameConstant:          "#60add5",
    25  	chroma.NameLabel:             "bold #002070",
    26  	chroma.NameEntity:            "bold #d55537",
    27  	chroma.NameAttribute:         "#4070a0",
    28  	chroma.NameTag:               "bold #062873",
    29  	chroma.NameDecorator:         "bold #555555",
    30  	chroma.LiteralString:         "#4070a0",
    31  	chroma.LiteralStringDoc:      "italic",
    32  	chroma.LiteralStringInterpol: "italic #70a0d0",
    33  	chroma.LiteralStringEscape:   "bold #4070a0",
    34  	chroma.LiteralStringRegex:    "#235388",
    35  	chroma.LiteralStringSymbol:   "#517918",
    36  	chroma.LiteralStringOther:    "#c65d09",
    37  	chroma.LiteralNumber:         "#40a070",
    38  	chroma.GenericHeading:        "bold #000080",
    39  	chroma.GenericSubheading:     "bold #800080",
    40  	chroma.GenericDeleted:        "#A00000",
    41  	chroma.GenericInserted:       "#00A000",
    42  	chroma.GenericError:          "#FF0000",
    43  	chroma.GenericEmph:           "italic",
    44  	chroma.GenericStrong:         "bold",
    45  	chroma.GenericPrompt:         "bold #c65d09",
    46  	chroma.GenericOutput:         "#888",
    47  	chroma.GenericTraceback:      "#04D",
    48  	chroma.GenericUnderline:      "underline",
    49  	chroma.Error:                 "border:#FF0000",
    50  	chroma.Background:            " bg:#f0f0f0",
    51  }))
    52  

View as plain text