...
1 package styles
2
3 import (
4 "github.com/alecthomas/chroma"
5 )
6
7
8 var Arduino = Register(chroma.MustNewStyle("arduino", chroma.StyleEntries{
9 chroma.Error: "#a61717",
10 chroma.Comment: "#95a5a6",
11 chroma.CommentPreproc: "#728E00",
12 chroma.Keyword: "#728E00",
13 chroma.KeywordConstant: "#00979D",
14 chroma.KeywordPseudo: "#00979D",
15 chroma.KeywordReserved: "#00979D",
16 chroma.KeywordType: "#00979D",
17 chroma.Operator: "#728E00",
18 chroma.Name: "#434f54",
19 chroma.NameBuiltin: "#728E00",
20 chroma.NameFunction: "#D35400",
21 chroma.NameOther: "#728E00",
22 chroma.LiteralNumber: "#8A7B52",
23 chroma.LiteralString: "#7F8C8D",
24 chroma.Background: " bg:#ffffff",
25 }))
26
View as plain text