...
1 package styles
2
3 import (
4 "github.com/alecthomas/chroma"
5 )
6
7
8 var SolarizedDark = Register(chroma.MustNewStyle("solarized-dark", chroma.StyleEntries{
9 chroma.Keyword: "#719e07",
10 chroma.KeywordConstant: "#CB4B16",
11 chroma.KeywordDeclaration: "#268BD2",
12 chroma.KeywordReserved: "#268BD2",
13 chroma.KeywordType: "#DC322F",
14 chroma.NameAttribute: "#93A1A1",
15 chroma.NameBuiltin: "#B58900",
16 chroma.NameBuiltinPseudo: "#268BD2",
17 chroma.NameClass: "#268BD2",
18 chroma.NameConstant: "#CB4B16",
19 chroma.NameDecorator: "#268BD2",
20 chroma.NameEntity: "#CB4B16",
21 chroma.NameException: "#CB4B16",
22 chroma.NameFunction: "#268BD2",
23 chroma.NameTag: "#268BD2",
24 chroma.NameVariable: "#268BD2",
25 chroma.LiteralString: "#2AA198",
26 chroma.LiteralStringBacktick: "#586E75",
27 chroma.LiteralStringChar: "#2AA198",
28 chroma.LiteralStringDoc: "#93A1A1",
29 chroma.LiteralStringEscape: "#CB4B16",
30 chroma.LiteralStringHeredoc: "#93A1A1",
31 chroma.LiteralStringRegex: "#DC322F",
32 chroma.LiteralNumber: "#2AA198",
33 chroma.Operator: "#719e07",
34 chroma.Comment: "#586E75",
35 chroma.CommentPreproc: "#719e07",
36 chroma.CommentSpecial: "#719e07",
37 chroma.GenericDeleted: "#DC322F",
38 chroma.GenericEmph: "italic",
39 chroma.GenericError: "#DC322F bold",
40 chroma.GenericHeading: "#CB4B16",
41 chroma.GenericInserted: "#719e07",
42 chroma.GenericStrong: "bold",
43 chroma.GenericSubheading: "#268BD2",
44 chroma.Background: "#93A1A1 bg:#002B36",
45 chroma.Other: "#CB4B16",
46 }))
47
View as plain text