aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com/alecthomas/chroma/v2/styles/friendly.go
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2024-10-25 00:47:47 +0200
committerMitja Felicijan <mitja.felicijan@gmail.com>2024-10-25 00:47:47 +0200
commitc6cc0108ca7738023b45e0eeac0fa2390532dd93 (patch)
tree36890e6cd3091bbab8efbe686cc56f467f645bfd /vendor/github.com/alecthomas/chroma/v2/styles/friendly.go
parent0130404a1dc663d4aa68d780c9bcb23a4243e68d (diff)
downloadjbmafp-c6cc0108ca7738023b45e0eeac0fa2390532dd93.tar.gz
Added vendor lock on depsHEADmaster
Diffstat (limited to 'vendor/github.com/alecthomas/chroma/v2/styles/friendly.go')
-rw-r--r--vendor/github.com/alecthomas/chroma/v2/styles/friendly.go51
1 files changed, 51 insertions, 0 deletions
diff --git a/vendor/github.com/alecthomas/chroma/v2/styles/friendly.go b/vendor/github.com/alecthomas/chroma/v2/styles/friendly.go
new file mode 100644
index 0000000..572d017
--- /dev/null
+++ b/vendor/github.com/alecthomas/chroma/v2/styles/friendly.go
@@ -0,0 +1,51 @@
1package styles
2
3import (
4 "github.com/alecthomas/chroma/v2"
5)
6
7// Friendly style.
8var Friendly = Register(chroma.MustNewStyle("friendly", chroma.StyleEntries{
9 chroma.TextWhitespace: "#bbbbbb",
10 chroma.Comment: "italic #60a0b0",
11 chroma.CommentPreproc: "noitalic #007020",
12 chroma.CommentSpecial: "noitalic bg:#fff0f0",
13 chroma.Keyword: "bold #007020",
14 chroma.KeywordPseudo: "nobold",
15 chroma.KeywordType: "nobold #902000",
16 chroma.Operator: "#666666",
17 chroma.OperatorWord: "bold #007020",
18 chroma.NameBuiltin: "#007020",
19 chroma.NameFunction: "#06287e",
20 chroma.NameClass: "bold #0e84b5",
21 chroma.NameNamespace: "bold #0e84b5",
22 chroma.NameException: "#007020",
23 chroma.NameVariable: "#bb60d5",
24 chroma.NameConstant: "#60add5",
25 chroma.NameLabel: "bold #002070",
26 chroma.NameEntity: "bold #d55537",
27 chroma.NameAttribute: "#4070a0",
28 chroma.NameTag: "bold #062873",
29 chroma.NameDecorator: "bold #555555",
30 chroma.LiteralString: "#4070a0",
31 chroma.LiteralStringDoc: "italic",
32 chroma.LiteralStringInterpol: "#70a0d0",
33 chroma.LiteralStringEscape: "bold #4070a0",
34 chroma.LiteralStringRegex: "#235388",
35 chroma.LiteralStringSymbol: "#517918",
36 chroma.LiteralStringOther: "#c65d09",
37 chroma.LiteralNumber: "#40a070",
38 chroma.GenericHeading: "bold #000080",
39 chroma.GenericSubheading: "bold #800080",
40 chroma.GenericDeleted: "#A00000",
41 chroma.GenericInserted: "#00A000",
42 chroma.GenericError: "#FF0000",
43 chroma.GenericEmph: "italic",
44 chroma.GenericStrong: "bold",
45 chroma.GenericPrompt: "bold #c65d09",
46 chroma.GenericOutput: "#888",
47 chroma.GenericTraceback: "#04D",
48 chroma.GenericUnderline: "underline",
49 chroma.Error: "border:#FF0000",
50 chroma.Background: " bg:#f0f0f0",
51}))