66
|
1 package styles
|
|
2
|
|
3 import (
|
|
4 "github.com/alecthomas/chroma/v2"
|
|
5 )
|
|
6
|
|
7 // Manni style.
|
|
8 var Manni = Register(chroma.MustNewStyle("manni", chroma.StyleEntries{
|
|
9 chroma.TextWhitespace: "#bbbbbb",
|
|
10 chroma.Comment: "italic #0099FF",
|
|
11 chroma.CommentPreproc: "noitalic #009999",
|
|
12 chroma.CommentSpecial: "bold",
|
|
13 chroma.Keyword: "bold #006699",
|
|
14 chroma.KeywordPseudo: "nobold",
|
|
15 chroma.KeywordType: "#007788",
|
|
16 chroma.Operator: "#555555",
|
|
17 chroma.OperatorWord: "bold #000000",
|
|
18 chroma.NameBuiltin: "#336666",
|
|
19 chroma.NameFunction: "#CC00FF",
|
|
20 chroma.NameClass: "bold #00AA88",
|
|
21 chroma.NameNamespace: "bold #00CCFF",
|
|
22 chroma.NameException: "bold #CC0000",
|
|
23 chroma.NameVariable: "#003333",
|
|
24 chroma.NameConstant: "#336600",
|
|
25 chroma.NameLabel: "#9999FF",
|
|
26 chroma.NameEntity: "bold #999999",
|
|
27 chroma.NameAttribute: "#330099",
|
|
28 chroma.NameTag: "bold #330099",
|
|
29 chroma.NameDecorator: "#9999FF",
|
|
30 chroma.LiteralString: "#CC3300",
|
|
31 chroma.LiteralStringDoc: "italic",
|
|
32 chroma.LiteralStringInterpol: "#AA0000",
|
|
33 chroma.LiteralStringEscape: "bold #CC3300",
|
|
34 chroma.LiteralStringRegex: "#33AAAA",
|
|
35 chroma.LiteralStringSymbol: "#FFCC33",
|
|
36 chroma.LiteralStringOther: "#CC3300",
|
|
37 chroma.LiteralNumber: "#FF6600",
|
|
38 chroma.GenericHeading: "bold #003300",
|
|
39 chroma.GenericSubheading: "bold #003300",
|
|
40 chroma.GenericDeleted: "border:#CC0000 bg:#FFCCCC",
|
|
41 chroma.GenericInserted: "border:#00CC00 bg:#CCFFCC",
|
|
42 chroma.GenericError: "#FF0000",
|
|
43 chroma.GenericEmph: "italic",
|
|
44 chroma.GenericStrong: "bold",
|
|
45 chroma.GenericPrompt: "bold #000099",
|
|
46 chroma.GenericOutput: "#AAAAAA",
|
|
47 chroma.GenericTraceback: "#99CC66",
|
|
48 chroma.GenericUnderline: "underline",
|
|
49 chroma.Error: "bg:#FFAAAA #AA0000",
|
|
50 chroma.Background: " bg:#f0f3f3",
|
|
51 }))
|