1 package styles
2
3 import (
4 "github.com/alecthomas/chroma"
5 )
6
7
8 var Murphy = Register(chroma.MustNewStyle("murphy", chroma.StyleEntries{
9 chroma.TextWhitespace: "#bbbbbb",
10 chroma.Comment: "#666 italic",
11 chroma.CommentPreproc: "#579 noitalic",
12 chroma.CommentSpecial: "#c00 bold",
13 chroma.Keyword: "bold #289",
14 chroma.KeywordPseudo: "#08f",
15 chroma.KeywordType: "#66f",
16 chroma.Operator: "#333",
17 chroma.OperatorWord: "bold #000",
18 chroma.NameBuiltin: "#072",
19 chroma.NameFunction: "bold #5ed",
20 chroma.NameClass: "bold #e9e",
21 chroma.NameNamespace: "bold #0e84b5",
22 chroma.NameException: "bold #F00",
23 chroma.NameVariable: "#036",
24 chroma.NameVariableInstance: "#aaf",
25 chroma.NameVariableClass: "#ccf",
26 chroma.NameVariableGlobal: "#f84",
27 chroma.NameConstant: "bold #5ed",
28 chroma.NameLabel: "bold #970",
29 chroma.NameEntity: "#800",
30 chroma.NameAttribute: "#007",
31 chroma.NameTag: "#070",
32 chroma.NameDecorator: "bold #555",
33 chroma.LiteralString: "bg:#e0e0ff",
34 chroma.LiteralStringChar: "#88F bg:",
35 chroma.LiteralStringDoc: "#D42 bg:",
36 chroma.LiteralStringInterpol: "bg:#eee",
37 chroma.LiteralStringEscape: "bold #666",
38 chroma.LiteralStringRegex: "bg:#e0e0ff #000",
39 chroma.LiteralStringSymbol: "#fc8 bg:",
40 chroma.LiteralStringOther: "#f88",
41 chroma.LiteralNumber: "bold #60E",
42 chroma.LiteralNumberInteger: "bold #66f",
43 chroma.LiteralNumberFloat: "bold #60E",
44 chroma.LiteralNumberHex: "bold #058",
45 chroma.LiteralNumberOct: "bold #40E",
46 chroma.GenericHeading: "bold #000080",
47 chroma.GenericSubheading: "bold #800080",
48 chroma.GenericDeleted: "#A00000",
49 chroma.GenericInserted: "#00A000",
50 chroma.GenericError: "#FF0000",
51 chroma.GenericEmph: "italic",
52 chroma.GenericStrong: "bold",
53 chroma.GenericPrompt: "bold #c65d09",
54 chroma.GenericOutput: "#888",
55 chroma.GenericTraceback: "#04D",
56 chroma.GenericUnderline: "underline",
57 chroma.Error: "#F00 bg:#FAA",
58 chroma.Background: " bg:#ffffff",
59 }))
60
View as plain text