66
|
1 package styles
|
|
2
|
|
3 import (
|
|
4 "github.com/alecthomas/chroma/v2"
|
|
5 )
|
|
6
|
|
7 // Native style.
|
|
8 var Native = Register(chroma.MustNewStyle("native", chroma.StyleEntries{
|
|
9 chroma.Background: "#d0d0d0 bg:#202020",
|
|
10 chroma.TextWhitespace: "#666666",
|
|
11 chroma.Comment: "italic #999999",
|
|
12 chroma.CommentPreproc: "noitalic bold #cd2828",
|
|
13 chroma.CommentSpecial: "noitalic bold #e50808 bg:#520000",
|
|
14 chroma.Keyword: "bold #6ab825",
|
|
15 chroma.KeywordPseudo: "nobold",
|
|
16 chroma.OperatorWord: "bold #6ab825",
|
|
17 chroma.LiteralString: "#ed9d13",
|
|
18 chroma.LiteralStringOther: "#ffa500",
|
|
19 chroma.LiteralNumber: "#3677a9",
|
|
20 chroma.NameBuiltin: "#24909d",
|
|
21 chroma.NameVariable: "#40ffff",
|
|
22 chroma.NameConstant: "#40ffff",
|
|
23 chroma.NameClass: "underline #447fcf",
|
|
24 chroma.NameFunction: "#447fcf",
|
|
25 chroma.NameNamespace: "underline #447fcf",
|
|
26 chroma.NameException: "#bbbbbb",
|
|
27 chroma.NameTag: "bold #6ab825",
|
|
28 chroma.NameAttribute: "#bbbbbb",
|
|
29 chroma.NameDecorator: "#ffa500",
|
|
30 chroma.GenericHeading: "bold #ffffff",
|
|
31 chroma.GenericSubheading: "underline #ffffff",
|
|
32 chroma.GenericDeleted: "#d22323",
|
|
33 chroma.GenericInserted: "#589819",
|
|
34 chroma.GenericError: "#d22323",
|
|
35 chroma.GenericEmph: "italic",
|
|
36 chroma.GenericStrong: "bold",
|
|
37 chroma.GenericPrompt: "#aaaaaa",
|
|
38 chroma.GenericOutput: "#cccccc",
|
|
39 chroma.GenericTraceback: "#d22323",
|
|
40 chroma.GenericUnderline: "underline",
|
|
41 chroma.Error: "bg:#e3d2d2 #a61717",
|
|
42 }))
|