1package styles
2
3import (
4	"github.com/alecthomas/chroma"
5)
6
7// Colorful style.
8var Colorful = Register(chroma.MustNewStyle("colorful", chroma.StyleEntries{
9	chroma.TextWhitespace:        "#bbbbbb",
10	chroma.Comment:               "#888",
11	chroma.CommentPreproc:        "#579",
12	chroma.CommentSpecial:        "bold #cc0000",
13	chroma.Keyword:               "bold #080",
14	chroma.KeywordPseudo:         "#038",
15	chroma.KeywordType:           "#339",
16	chroma.Operator:              "#333",
17	chroma.OperatorWord:          "bold #000",
18	chroma.NameBuiltin:           "#007020",
19	chroma.NameFunction:          "bold #06B",
20	chroma.NameClass:             "bold #B06",
21	chroma.NameNamespace:         "bold #0e84b5",
22	chroma.NameException:         "bold #F00",
23	chroma.NameVariable:          "#963",
24	chroma.NameVariableInstance:  "#33B",
25	chroma.NameVariableClass:     "#369",
26	chroma.NameVariableGlobal:    "bold #d70",
27	chroma.NameConstant:          "bold #036",
28	chroma.NameLabel:             "bold #970",
29	chroma.NameEntity:            "bold #800",
30	chroma.NameAttribute:         "#00C",
31	chroma.NameTag:               "#070",
32	chroma.NameDecorator:         "bold #555",
33	chroma.LiteralString:         "bg:#fff0f0",
34	chroma.LiteralStringChar:     "#04D bg:",
35	chroma.LiteralStringDoc:      "#D42 bg:",
36	chroma.LiteralStringInterpol: "bg:#eee",
37	chroma.LiteralStringEscape:   "bold #666",
38	chroma.LiteralStringRegex:    "bg:#fff0ff #000",
39	chroma.LiteralStringSymbol:   "#A60 bg:",
40	chroma.LiteralStringOther:    "#D20",
41	chroma.LiteralNumber:         "bold #60E",
42	chroma.LiteralNumberInteger:  "bold #00D",
43	chroma.LiteralNumberFloat:    "bold #60E",
44	chroma.LiteralNumberHex:      "bold #058",
45	chroma.LiteralNumberOct:      "bold #40E",
46	chroma.GenericHeading:        "bold #000080",
47	chroma.GenericSubheading:     "bold #800080",
48	chroma.GenericDeleted:        "#A00000",
49	chroma.GenericInserted:       "#00A000",
50	chroma.GenericError:          "#FF0000",
51	chroma.GenericEmph:           "italic",
52	chroma.GenericStrong:         "bold",
53	chroma.GenericPrompt:         "bold #c65d09",
54	chroma.GenericOutput:         "#888",
55	chroma.GenericTraceback:      "#04D",
56	chroma.GenericUnderline:      "underline",
57	chroma.Error:                 "#F00 bg:#FAA",
58	chroma.Background:            " bg:#ffffff",
59}))
60