1 | package styles
|
---|
2 |
|
---|
3 | import (
|
---|
4 | "github.com/alecthomas/chroma/v2"
|
---|
5 | )
|
---|
6 |
|
---|
7 | // Algol style.
|
---|
8 | var Algol = Register(chroma.MustNewStyle("algol", chroma.StyleEntries{
|
---|
9 | chroma.Comment: "italic #888",
|
---|
10 | chroma.CommentPreproc: "bold noitalic #888",
|
---|
11 | chroma.CommentSpecial: "bold noitalic #888",
|
---|
12 | chroma.Keyword: "underline 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 | }))
|
---|