1 | package styles
|
---|
2 |
|
---|
3 | import (
|
---|
4 | "github.com/alecthomas/chroma/v2"
|
---|
5 | )
|
---|
6 |
|
---|
7 | // Pastie style.
|
---|
8 | var Pastie = Register(chroma.MustNewStyle("pastie", chroma.StyleEntries{
|
---|
9 | chroma.TextWhitespace: "#bbbbbb",
|
---|
10 | chroma.Comment: "#888888",
|
---|
11 | chroma.CommentPreproc: "bold #cc0000",
|
---|
12 | chroma.CommentSpecial: "bg:#fff0f0 bold #cc0000",
|
---|
13 | chroma.LiteralString: "bg:#fff0f0 #dd2200",
|
---|
14 | chroma.LiteralStringRegex: "bg:#fff0ff #008800",
|
---|
15 | chroma.LiteralStringOther: "bg:#f0fff0 #22bb22",
|
---|
16 | chroma.LiteralStringSymbol: "#aa6600",
|
---|
17 | chroma.LiteralStringInterpol: "#3333bb",
|
---|
18 | chroma.LiteralStringEscape: "#0044dd",
|
---|
19 | chroma.OperatorWord: "#008800",
|
---|
20 | chroma.Keyword: "bold #008800",
|
---|
21 | chroma.KeywordPseudo: "nobold",
|
---|
22 | chroma.KeywordType: "#888888",
|
---|
23 | chroma.NameClass: "bold #bb0066",
|
---|
24 | chroma.NameException: "bold #bb0066",
|
---|
25 | chroma.NameFunction: "bold #0066bb",
|
---|
26 | chroma.NameProperty: "bold #336699",
|
---|
27 | chroma.NameNamespace: "bold #bb0066",
|
---|
28 | chroma.NameBuiltin: "#003388",
|
---|
29 | chroma.NameVariable: "#336699",
|
---|
30 | chroma.NameVariableClass: "#336699",
|
---|
31 | chroma.NameVariableInstance: "#3333bb",
|
---|
32 | chroma.NameVariableGlobal: "#dd7700",
|
---|
33 | chroma.NameConstant: "bold #003366",
|
---|
34 | chroma.NameTag: "bold #bb0066",
|
---|
35 | chroma.NameAttribute: "#336699",
|
---|
36 | chroma.NameDecorator: "#555555",
|
---|
37 | chroma.NameLabel: "italic #336699",
|
---|
38 | chroma.LiteralNumber: "bold #0000DD",
|
---|
39 | chroma.GenericHeading: "#333",
|
---|
40 | chroma.GenericSubheading: "#666",
|
---|
41 | chroma.GenericDeleted: "bg:#ffdddd #000000",
|
---|
42 | chroma.GenericInserted: "bg:#ddffdd #000000",
|
---|
43 | chroma.GenericError: "#aa0000",
|
---|
44 | chroma.GenericEmph: "italic",
|
---|
45 | chroma.GenericStrong: "bold",
|
---|
46 | chroma.GenericPrompt: "#555555",
|
---|
47 | chroma.GenericOutput: "#888888",
|
---|
48 | chroma.GenericTraceback: "#aa0000",
|
---|
49 | chroma.GenericUnderline: "underline",
|
---|
50 | chroma.Error: "bg:#e3d2d2 #a61717",
|
---|
51 | chroma.Background: " bg:#ffffff",
|
---|
52 | }))
|
---|