trac.go

 1package styles
 2
 3import (
 4	"github.com/alecthomas/chroma"
 5)
 6
 7// Trac style.
 8var Trac = Register(chroma.MustNewStyle("trac", chroma.StyleEntries{
 9	chroma.TextWhitespace:     "#bbbbbb",
10	chroma.Comment:            "italic #999988",
11	chroma.CommentPreproc:     "bold noitalic #999999",
12	chroma.CommentSpecial:     "bold #999999",
13	chroma.Operator:           "bold",
14	chroma.LiteralString:      "#bb8844",
15	chroma.LiteralStringRegex: "#808000",
16	chroma.LiteralNumber:      "#009999",
17	chroma.Keyword:            "bold",
18	chroma.KeywordType:        "#445588",
19	chroma.NameBuiltin:        "#999999",
20	chroma.NameFunction:       "bold #990000",
21	chroma.NameClass:          "bold #445588",
22	chroma.NameException:      "bold #990000",
23	chroma.NameNamespace:      "#555555",
24	chroma.NameVariable:       "#008080",
25	chroma.NameConstant:       "#008080",
26	chroma.NameTag:            "#000080",
27	chroma.NameAttribute:      "#008080",
28	chroma.NameEntity:         "#800080",
29	chroma.GenericHeading:     "#999999",
30	chroma.GenericSubheading:  "#aaaaaa",
31	chroma.GenericDeleted:     "bg:#ffdddd #000000",
32	chroma.GenericInserted:    "bg:#ddffdd #000000",
33	chroma.GenericError:       "#aa0000",
34	chroma.GenericEmph:        "italic",
35	chroma.GenericStrong:      "bold",
36	chroma.GenericPrompt:      "#555555",
37	chroma.GenericOutput:      "#888888",
38	chroma.GenericTraceback:   "#aa0000",
39	chroma.GenericUnderline:   "underline",
40	chroma.Error:              "bg:#e3d2d2 #a61717",
41	chroma.Background:         " bg:#ffffff",
42}))