...

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

Documentation: github.com/alecthomas/chroma/styles

     1  package styles
     2  
     3  import (
     4  	"github.com/alecthomas/chroma"
     5  )
     6  
     7  // Monokai style.
     8  var Monokai = Register(chroma.MustNewStyle("monokai", chroma.StyleEntries{
     9  	chroma.Text:                "#f8f8f2",
    10  	chroma.Error:               "#960050 bg:#1e0010",
    11  	chroma.Comment:             "#75715e",
    12  	chroma.Keyword:             "#66d9ef",
    13  	chroma.KeywordNamespace:    "#f92672",
    14  	chroma.Operator:            "#f92672",
    15  	chroma.Punctuation:         "#f8f8f2",
    16  	chroma.Name:                "#f8f8f2",
    17  	chroma.NameAttribute:       "#a6e22e",
    18  	chroma.NameClass:           "#a6e22e",
    19  	chroma.NameConstant:        "#66d9ef",
    20  	chroma.NameDecorator:       "#a6e22e",
    21  	chroma.NameException:       "#a6e22e",
    22  	chroma.NameFunction:        "#a6e22e",
    23  	chroma.NameOther:           "#a6e22e",
    24  	chroma.NameTag:             "#f92672",
    25  	chroma.LiteralNumber:       "#ae81ff",
    26  	chroma.Literal:             "#ae81ff",
    27  	chroma.LiteralDate:         "#e6db74",
    28  	chroma.LiteralString:       "#e6db74",
    29  	chroma.LiteralStringEscape: "#ae81ff",
    30  	chroma.GenericDeleted:      "#f92672",
    31  	chroma.GenericEmph:         "italic",
    32  	chroma.GenericInserted:     "#a6e22e",
    33  	chroma.GenericStrong:       "bold",
    34  	chroma.GenericSubheading:   "#75715e",
    35  	chroma.Background:          "bg:#272822",
    36  }))
    37  

View as plain text