Mercurial > yakumo_izuru > aya
comparison vendor/github.com/alecthomas/chroma/v2/styles/perldoc.go @ 66:787b5ee0289d draft
Use vendored modules
Signed-off-by: Izuru Yakumo <yakumo.izuru@chaotic.ninja>
author | yakumo.izuru |
---|---|
date | Sun, 23 Jul 2023 13:18:53 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
65:6d985efa0f7a | 66:787b5ee0289d |
---|---|
1 package styles | |
2 | |
3 import ( | |
4 "github.com/alecthomas/chroma/v2" | |
5 ) | |
6 | |
7 // Perldoc style. | |
8 var Perldoc = Register(chroma.MustNewStyle("perldoc", chroma.StyleEntries{ | |
9 chroma.TextWhitespace: "#bbbbbb", | |
10 chroma.Comment: "#228B22", | |
11 chroma.CommentPreproc: "#1e889b", | |
12 chroma.CommentSpecial: "#8B008B bold", | |
13 chroma.LiteralString: "#CD5555", | |
14 chroma.LiteralStringHeredoc: "#1c7e71 italic", | |
15 chroma.LiteralStringRegex: "#1c7e71", | |
16 chroma.LiteralStringOther: "#cb6c20", | |
17 chroma.LiteralNumber: "#B452CD", | |
18 chroma.OperatorWord: "#8B008B", | |
19 chroma.Keyword: "#8B008B bold", | |
20 chroma.KeywordType: "#00688B", | |
21 chroma.NameClass: "#008b45 bold", | |
22 chroma.NameException: "#008b45 bold", | |
23 chroma.NameFunction: "#008b45", | |
24 chroma.NameNamespace: "#008b45 underline", | |
25 chroma.NameVariable: "#00688B", | |
26 chroma.NameConstant: "#00688B", | |
27 chroma.NameDecorator: "#707a7c", | |
28 chroma.NameTag: "#8B008B bold", | |
29 chroma.NameAttribute: "#658b00", | |
30 chroma.NameBuiltin: "#658b00", | |
31 chroma.GenericHeading: "bold #000080", | |
32 chroma.GenericSubheading: "bold #800080", | |
33 chroma.GenericDeleted: "#aa0000", | |
34 chroma.GenericInserted: "#00aa00", | |
35 chroma.GenericError: "#aa0000", | |
36 chroma.GenericEmph: "italic", | |
37 chroma.GenericStrong: "bold", | |
38 chroma.GenericPrompt: "#555555", | |
39 chroma.GenericOutput: "#888888", | |
40 chroma.GenericTraceback: "#aa0000", | |
41 chroma.GenericUnderline: "underline", | |
42 chroma.Error: "bg:#e3d2d2 #a61717", | |
43 chroma.Background: " bg:#eeeedd", | |
44 })) |