1 | package styles
|
---|
2 |
|
---|
3 | import (
|
---|
4 | "github.com/alecthomas/chroma/v2"
|
---|
5 | )
|
---|
6 |
|
---|
7 | // SolarizedDark256 style.
|
---|
8 | var SolarizedDark256 = Register(chroma.MustNewStyle("solarized-dark256", chroma.StyleEntries{
|
---|
9 | chroma.Keyword: "#5f8700",
|
---|
10 | chroma.KeywordConstant: "#d75f00",
|
---|
11 | chroma.KeywordDeclaration: "#0087ff",
|
---|
12 | chroma.KeywordNamespace: "#d75f00",
|
---|
13 | chroma.KeywordReserved: "#0087ff",
|
---|
14 | chroma.KeywordType: "#af0000",
|
---|
15 | chroma.NameAttribute: "#8a8a8a",
|
---|
16 | chroma.NameBuiltin: "#0087ff",
|
---|
17 | chroma.NameBuiltinPseudo: "#0087ff",
|
---|
18 | chroma.NameClass: "#0087ff",
|
---|
19 | chroma.NameConstant: "#d75f00",
|
---|
20 | chroma.NameDecorator: "#0087ff",
|
---|
21 | chroma.NameEntity: "#d75f00",
|
---|
22 | chroma.NameException: "#af8700",
|
---|
23 | chroma.NameFunction: "#0087ff",
|
---|
24 | chroma.NameTag: "#0087ff",
|
---|
25 | chroma.NameVariable: "#0087ff",
|
---|
26 | chroma.LiteralString: "#00afaf",
|
---|
27 | chroma.LiteralStringBacktick: "#4e4e4e",
|
---|
28 | chroma.LiteralStringChar: "#00afaf",
|
---|
29 | chroma.LiteralStringDoc: "#00afaf",
|
---|
30 | chroma.LiteralStringEscape: "#af0000",
|
---|
31 | chroma.LiteralStringHeredoc: "#00afaf",
|
---|
32 | chroma.LiteralStringRegex: "#af0000",
|
---|
33 | chroma.LiteralNumber: "#00afaf",
|
---|
34 | chroma.Operator: "#8a8a8a",
|
---|
35 | chroma.OperatorWord: "#5f8700",
|
---|
36 | chroma.Comment: "#4e4e4e",
|
---|
37 | chroma.CommentPreproc: "#5f8700",
|
---|
38 | chroma.CommentSpecial: "#5f8700",
|
---|
39 | chroma.GenericDeleted: "#af0000",
|
---|
40 | chroma.GenericEmph: "italic",
|
---|
41 | chroma.GenericError: "#af0000 bold",
|
---|
42 | chroma.GenericHeading: "#d75f00",
|
---|
43 | chroma.GenericInserted: "#5f8700",
|
---|
44 | chroma.GenericStrong: "bold",
|
---|
45 | chroma.GenericSubheading: "#0087ff",
|
---|
46 | chroma.Background: "#8a8a8a bg:#1c1c1c",
|
---|
47 | chroma.Other: "#d75f00",
|
---|
48 | }))
|
---|