66
|
1 package styles
|
|
2
|
|
3 import (
|
|
4 "github.com/alecthomas/chroma/v2"
|
|
5 )
|
|
6
|
|
7 // Gruvbox style.
|
|
8 var Gruvbox = Register(chroma.MustNewStyle("gruvbox", chroma.StyleEntries{
|
|
9 chroma.CommentPreproc: "noinherit #8ec07c",
|
|
10 chroma.Comment: "#928374 italic",
|
|
11 chroma.GenericDeleted: "noinherit #282828 bg:#fb4934",
|
|
12 chroma.GenericEmph: "#83a598 underline",
|
|
13 chroma.GenericError: "bg:#fb4934 bold",
|
|
14 chroma.GenericHeading: "#b8bb26 bold",
|
|
15 chroma.GenericInserted: "noinherit #282828 bg:#b8bb26",
|
|
16 chroma.GenericOutput: "noinherit #504945",
|
|
17 chroma.GenericPrompt: "#ebdbb2",
|
|
18 chroma.GenericStrong: "#ebdbb2",
|
|
19 chroma.GenericSubheading: "#b8bb26 bold",
|
|
20 chroma.GenericTraceback: "bg:#fb4934 bold",
|
|
21 chroma.Generic: "#ebdbb2",
|
|
22 chroma.KeywordType: "noinherit #fabd2f",
|
|
23 chroma.Keyword: "noinherit #fe8019",
|
|
24 chroma.NameAttribute: "#b8bb26 bold",
|
|
25 chroma.NameBuiltin: "#fabd2f",
|
|
26 chroma.NameConstant: "noinherit #d3869b",
|
|
27 chroma.NameEntity: "noinherit #fabd2f",
|
|
28 chroma.NameException: "noinherit #fb4934",
|
|
29 chroma.NameFunction: "#fabd2f",
|
|
30 chroma.NameLabel: "noinherit #fb4934",
|
|
31 chroma.NameTag: "noinherit #fb4934",
|
|
32 chroma.NameVariable: "noinherit #ebdbb2",
|
|
33 chroma.Name: "#ebdbb2",
|
|
34 chroma.LiteralNumberFloat: "noinherit #d3869b",
|
|
35 chroma.LiteralNumber: "noinherit #d3869b",
|
|
36 chroma.Operator: "#fe8019",
|
|
37 chroma.LiteralStringSymbol: "#83a598",
|
|
38 chroma.LiteralString: "noinherit #b8bb26",
|
|
39 chroma.Background: "noinherit #ebdbb2 bg:#282828 bg:#282828",
|
|
40 }))
|