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