Mercurial > yakumo_izuru > aya
comparison vendor/github.com/alecthomas/chroma/v2/styles/pygments.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 // Pygments default theme. | |
8 var Pygments = Register(chroma.MustNewStyle("pygments", chroma.StyleEntries{ | |
9 chroma.Whitespace: "#bbbbbb", | |
10 chroma.Comment: "italic #408080", | |
11 chroma.CommentPreproc: "noitalic #BC7A00", | |
12 | |
13 chroma.Keyword: "bold #008000", | |
14 chroma.KeywordPseudo: "nobold", | |
15 chroma.KeywordType: "nobold #B00040", | |
16 | |
17 chroma.Operator: "#666666", | |
18 chroma.OperatorWord: "bold #AA22FF", | |
19 | |
20 chroma.NameBuiltin: "#008000", | |
21 chroma.NameFunction: "#0000FF", | |
22 chroma.NameClass: "bold #0000FF", | |
23 chroma.NameNamespace: "bold #0000FF", | |
24 chroma.NameException: "bold #D2413A", | |
25 chroma.NameVariable: "#19177C", | |
26 chroma.NameConstant: "#880000", | |
27 chroma.NameLabel: "#A0A000", | |
28 chroma.NameEntity: "bold #999999", | |
29 chroma.NameAttribute: "#7D9029", | |
30 chroma.NameTag: "bold #008000", | |
31 chroma.NameDecorator: "#AA22FF", | |
32 | |
33 chroma.String: "#BA2121", | |
34 chroma.StringDoc: "italic", | |
35 chroma.StringInterpol: "bold #BB6688", | |
36 chroma.StringEscape: "bold #BB6622", | |
37 chroma.StringRegex: "#BB6688", | |
38 chroma.StringSymbol: "#19177C", | |
39 chroma.StringOther: "#008000", | |
40 chroma.Number: "#666666", | |
41 | |
42 chroma.GenericHeading: "bold #000080", | |
43 chroma.GenericSubheading: "bold #800080", | |
44 chroma.GenericDeleted: "#A00000", | |
45 chroma.GenericInserted: "#00A000", | |
46 chroma.GenericError: "#FF0000", | |
47 chroma.GenericEmph: "italic", | |
48 chroma.GenericStrong: "bold", | |
49 chroma.GenericPrompt: "bold #000080", | |
50 chroma.GenericOutput: "#888", | |
51 chroma.GenericTraceback: "#04D", | |
52 chroma.GenericUnderline: "underline", | |
53 | |
54 chroma.Error: "border:#FF0000", | |
55 })) |