66
|
1 package styles
|
|
2
|
|
3 import (
|
|
4 "github.com/alecthomas/chroma/v2"
|
|
5 )
|
|
6
|
|
7 // AlgolNu style.
|
|
8 var AlgolNu = Register(chroma.MustNewStyle("algol_nu", chroma.StyleEntries{
|
|
9 chroma.Comment: "italic #888",
|
|
10 chroma.CommentPreproc: "bold noitalic #888",
|
|
11 chroma.CommentSpecial: "bold noitalic #888",
|
|
12 chroma.Keyword: "bold",
|
|
13 chroma.KeywordDeclaration: "italic",
|
|
14 chroma.NameBuiltin: "bold italic",
|
|
15 chroma.NameBuiltinPseudo: "bold italic",
|
|
16 chroma.NameNamespace: "bold italic #666",
|
|
17 chroma.NameClass: "bold italic #666",
|
|
18 chroma.NameFunction: "bold italic #666",
|
|
19 chroma.NameVariable: "bold italic #666",
|
|
20 chroma.NameConstant: "bold italic #666",
|
|
21 chroma.OperatorWord: "bold",
|
|
22 chroma.LiteralString: "italic #666",
|
|
23 chroma.Error: "border:#FF0000",
|
|
24 chroma.Background: " bg:#ffffff",
|
|
25 }))
|