...

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

Documentation: github.com/alecthomas/chroma/styles

     1  package styles
     2  
     3  import (
     4  	"github.com/alecthomas/chroma"
     5  )
     6  
     7  // Tango style.
     8  var Tango = Register(chroma.MustNewStyle("tango", chroma.StyleEntries{
     9  	chroma.TextWhitespace:           "underline #f8f8f8",
    10  	chroma.Error:                    "#a40000 border:#ef2929",
    11  	chroma.Other:                    "#000000",
    12  	chroma.Comment:                  "italic #8f5902",
    13  	chroma.CommentMultiline:         "italic #8f5902",
    14  	chroma.CommentPreproc:           "italic #8f5902",
    15  	chroma.CommentSingle:            "italic #8f5902",
    16  	chroma.CommentSpecial:           "italic #8f5902",
    17  	chroma.Keyword:                  "bold #204a87",
    18  	chroma.KeywordConstant:          "bold #204a87",
    19  	chroma.KeywordDeclaration:       "bold #204a87",
    20  	chroma.KeywordNamespace:         "bold #204a87",
    21  	chroma.KeywordPseudo:            "bold #204a87",
    22  	chroma.KeywordReserved:          "bold #204a87",
    23  	chroma.KeywordType:              "bold #204a87",
    24  	chroma.Operator:                 "bold #ce5c00",
    25  	chroma.OperatorWord:             "bold #204a87",
    26  	chroma.Punctuation:              "bold #000000",
    27  	chroma.Name:                     "#000000",
    28  	chroma.NameAttribute:            "#c4a000",
    29  	chroma.NameBuiltin:              "#204a87",
    30  	chroma.NameBuiltinPseudo:        "#3465a4",
    31  	chroma.NameClass:                "#000000",
    32  	chroma.NameConstant:             "#000000",
    33  	chroma.NameDecorator:            "bold #5c35cc",
    34  	chroma.NameEntity:               "#ce5c00",
    35  	chroma.NameException:            "bold #cc0000",
    36  	chroma.NameFunction:             "#000000",
    37  	chroma.NameProperty:             "#000000",
    38  	chroma.NameLabel:                "#f57900",
    39  	chroma.NameNamespace:            "#000000",
    40  	chroma.NameOther:                "#000000",
    41  	chroma.NameTag:                  "bold #204a87",
    42  	chroma.NameVariable:             "#000000",
    43  	chroma.NameVariableClass:        "#000000",
    44  	chroma.NameVariableGlobal:       "#000000",
    45  	chroma.NameVariableInstance:     "#000000",
    46  	chroma.LiteralNumber:            "bold #0000cf",
    47  	chroma.LiteralNumberFloat:       "bold #0000cf",
    48  	chroma.LiteralNumberHex:         "bold #0000cf",
    49  	chroma.LiteralNumberInteger:     "bold #0000cf",
    50  	chroma.LiteralNumberIntegerLong: "bold #0000cf",
    51  	chroma.LiteralNumberOct:         "bold #0000cf",
    52  	chroma.Literal:                  "#000000",
    53  	chroma.LiteralDate:              "#000000",
    54  	chroma.LiteralString:            "#4e9a06",
    55  	chroma.LiteralStringBacktick:    "#4e9a06",
    56  	chroma.LiteralStringChar:        "#4e9a06",
    57  	chroma.LiteralStringDoc:         "italic #8f5902",
    58  	chroma.LiteralStringDouble:      "#4e9a06",
    59  	chroma.LiteralStringEscape:      "#4e9a06",
    60  	chroma.LiteralStringHeredoc:     "#4e9a06",
    61  	chroma.LiteralStringInterpol:    "#4e9a06",
    62  	chroma.LiteralStringOther:       "#4e9a06",
    63  	chroma.LiteralStringRegex:       "#4e9a06",
    64  	chroma.LiteralStringSingle:      "#4e9a06",
    65  	chroma.LiteralStringSymbol:      "#4e9a06",
    66  	chroma.Generic:                  "#000000",
    67  	chroma.GenericDeleted:           "#a40000",
    68  	chroma.GenericEmph:              "italic #000000",
    69  	chroma.GenericError:             "#ef2929",
    70  	chroma.GenericHeading:           "bold #000080",
    71  	chroma.GenericInserted:          "#00A000",
    72  	chroma.GenericOutput:            "italic #000000",
    73  	chroma.GenericPrompt:            "#8f5902",
    74  	chroma.GenericStrong:            "bold #000000",
    75  	chroma.GenericSubheading:        "bold #800080",
    76  	chroma.GenericTraceback:         "bold #a40000",
    77  	chroma.GenericUnderline:         "underline",
    78  	chroma.Background:               " bg:#f8f8f8",
    79  }))
    80  

View as plain text