66
|
1 package styles
|
|
2
|
|
3 import (
|
|
4 "github.com/alecthomas/chroma/v2"
|
|
5 )
|
|
6
|
|
7 // Average style.
|
|
8 var Average = Register(chroma.MustNewStyle("average", chroma.StyleEntries{
|
|
9 chroma.Comment: "#757575",
|
|
10 chroma.CommentHashbang: "#757575",
|
|
11 chroma.CommentMultiline: "#757575",
|
|
12 chroma.CommentPreproc: "#757575",
|
|
13 chroma.CommentSingle: "#757575",
|
|
14 chroma.CommentSpecial: "#757575",
|
|
15 chroma.Generic: "#757575",
|
|
16 chroma.GenericDeleted: "#ec0000",
|
|
17 chroma.GenericEmph: "#757575 underline",
|
|
18 chroma.GenericError: "#ec0000",
|
|
19 chroma.GenericHeading: "#757575 bold",
|
|
20 chroma.GenericInserted: "#757575 bold",
|
|
21 chroma.GenericOutput: "#757575",
|
|
22 chroma.GenericPrompt: "#757575",
|
|
23 chroma.GenericStrong: "#757575 italic",
|
|
24 chroma.GenericSubheading: "#757575 bold",
|
|
25 chroma.GenericTraceback: "#757575",
|
|
26 chroma.GenericUnderline: "underline",
|
|
27 chroma.Error: "#ec0000",
|
|
28 chroma.Keyword: "#ec0000",
|
|
29 chroma.KeywordConstant: "#ec0000",
|
|
30 chroma.KeywordDeclaration: "#ec0000",
|
|
31 chroma.KeywordNamespace: "#ec0000",
|
|
32 chroma.KeywordPseudo: "#ec0000",
|
|
33 chroma.KeywordReserved: "#ec0000",
|
|
34 chroma.KeywordType: "#5f5fff",
|
|
35 chroma.Literal: "#757575",
|
|
36 chroma.LiteralDate: "#757575",
|
|
37 chroma.Name: "#757575",
|
|
38 chroma.NameAttribute: "#5f5fff",
|
|
39 chroma.NameBuiltin: "#ec0000",
|
|
40 chroma.NameBuiltinPseudo: "#757575",
|
|
41 chroma.NameClass: "#5f5fff",
|
|
42 chroma.NameConstant: "#008900",
|
|
43 chroma.NameDecorator: "#008900",
|
|
44 chroma.NameEntity: "#757575",
|
|
45 chroma.NameException: "#757575",
|
|
46 chroma.NameFunction: "#5f5fff",
|
|
47 chroma.NameLabel: "#ec0000",
|
|
48 chroma.NameNamespace: "#757575",
|
|
49 chroma.NameOther: "#757575",
|
|
50 chroma.NameTag: "#ec0000",
|
|
51 chroma.NameVariable: "#ec0000",
|
|
52 chroma.NameVariableClass: "#ec0000",
|
|
53 chroma.NameVariableGlobal: "#ec0000",
|
|
54 chroma.NameVariableInstance: "#ec0000",
|
|
55 chroma.LiteralNumber: "#008900",
|
|
56 chroma.LiteralNumberBin: "#008900",
|
|
57 chroma.LiteralNumberFloat: "#008900",
|
|
58 chroma.LiteralNumberHex: "#008900",
|
|
59 chroma.LiteralNumberInteger: "#008900",
|
|
60 chroma.LiteralNumberIntegerLong: "#008900",
|
|
61 chroma.LiteralNumberOct: "#008900",
|
|
62 chroma.Operator: "#ec0000",
|
|
63 chroma.OperatorWord: "#ec0000",
|
|
64 chroma.Other: "#757575",
|
|
65 chroma.Punctuation: "#757575",
|
|
66 chroma.LiteralString: "#008900",
|
|
67 chroma.LiteralStringBacktick: "#008900",
|
|
68 chroma.LiteralStringChar: "#008900",
|
|
69 chroma.LiteralStringDoc: "#008900",
|
|
70 chroma.LiteralStringDouble: "#008900",
|
|
71 chroma.LiteralStringEscape: "#008900",
|
|
72 chroma.LiteralStringHeredoc: "#008900",
|
|
73 chroma.LiteralStringInterpol: "#008900",
|
|
74 chroma.LiteralStringOther: "#008900",
|
|
75 chroma.LiteralStringRegex: "#008900",
|
|
76 chroma.LiteralStringSingle: "#008900",
|
|
77 chroma.LiteralStringSymbol: "#008900",
|
|
78 chroma.Text: "#757575",
|
|
79 chroma.TextWhitespace: "#757575",
|
|
80 chroma.Background: " bg:#000000",
|
|
81 }))
|