...
1 package styles
2
3 import (
4 "github.com/alecthomas/chroma"
5 )
6
7
8 var Borland = Register(chroma.MustNewStyle("borland", chroma.StyleEntries{
9 chroma.TextWhitespace: "#bbbbbb",
10 chroma.Comment: "italic #008800",
11 chroma.CommentPreproc: "noitalic #008080",
12 chroma.CommentSpecial: "noitalic bold",
13 chroma.LiteralString: "#0000FF",
14 chroma.LiteralStringChar: "#800080",
15 chroma.LiteralNumber: "#0000FF",
16 chroma.Keyword: "bold #000080",
17 chroma.OperatorWord: "bold",
18 chroma.NameTag: "bold #000080",
19 chroma.NameAttribute: "#FF0000",
20 chroma.GenericHeading: "#999999",
21 chroma.GenericSubheading: "#aaaaaa",
22 chroma.GenericDeleted: "bg:#ffdddd #000000",
23 chroma.GenericInserted: "bg:#ddffdd #000000",
24 chroma.GenericError: "#aa0000",
25 chroma.GenericEmph: "italic",
26 chroma.GenericStrong: "bold",
27 chroma.GenericPrompt: "#555555",
28 chroma.GenericOutput: "#888888",
29 chroma.GenericTraceback: "#aa0000",
30 chroma.GenericUnderline: "underline",
31 chroma.Error: "bg:#e3d2d2 #a61717",
32 chroma.Background: " bg:#ffffff",
33 }))
34
View as plain text