1 | package styles
|
---|
2 |
|
---|
3 | import (
|
---|
4 | "github.com/alecthomas/chroma/v2"
|
---|
5 | )
|
---|
6 |
|
---|
7 | // Doom One style. Inspired by Atom One and Doom Emacs's Atom One theme
|
---|
8 | var DoomOne = Register(chroma.MustNewStyle("doom-one", chroma.StyleEntries{
|
---|
9 | chroma.Text: "#b0c4de",
|
---|
10 | chroma.Error: "#b0c4de",
|
---|
11 | chroma.Comment: "italic #8a93a5",
|
---|
12 | chroma.CommentHashbang: "bold",
|
---|
13 | chroma.Keyword: "#c678dd",
|
---|
14 | chroma.KeywordType: "#ef8383",
|
---|
15 | chroma.KeywordConstant: "bold #b756ff",
|
---|
16 | chroma.Operator: "#c7bf54",
|
---|
17 | chroma.OperatorWord: "bold #b756ff",
|
---|
18 | chroma.Punctuation: "#b0c4de",
|
---|
19 | chroma.Name: "#c1abea",
|
---|
20 | chroma.NameAttribute: "#b3d23c",
|
---|
21 | chroma.NameBuiltin: "#ef8383",
|
---|
22 | chroma.NameClass: "#76a9f9",
|
---|
23 | chroma.NameConstant: "bold #b756ff",
|
---|
24 | chroma.NameDecorator: "#e5c07b",
|
---|
25 | chroma.NameEntity: "#bda26f",
|
---|
26 | chroma.NameException: "bold #fd7474",
|
---|
27 | chroma.NameFunction: "#00b1f7",
|
---|
28 | chroma.NameProperty: "#cebc3a",
|
---|
29 | chroma.NameLabel: "#f5a40d",
|
---|
30 | chroma.NameNamespace: "#76a9f9",
|
---|
31 | chroma.NameTag: "#e06c75",
|
---|
32 | chroma.NameVariable: "#DCAEEA",
|
---|
33 | chroma.NameVariableGlobal: "bold #DCAEEA",
|
---|
34 | chroma.NameVariableInstance: "#e06c75",
|
---|
35 | chroma.Literal: "#98c379",
|
---|
36 | chroma.Number: "#d19a66",
|
---|
37 | chroma.String: "#98c379",
|
---|
38 | chroma.StringDoc: "#7e97c3",
|
---|
39 | chroma.StringDouble: "#63c381",
|
---|
40 | chroma.StringEscape: "bold #d26464",
|
---|
41 | chroma.StringHeredoc: "#98c379",
|
---|
42 | chroma.StringInterpol: "#98c379",
|
---|
43 | chroma.StringOther: "#70b33f",
|
---|
44 | chroma.StringRegex: "#56b6c2",
|
---|
45 | chroma.StringSingle: "#98c379",
|
---|
46 | chroma.StringSymbol: "#56b6c2",
|
---|
47 | chroma.Generic: "#b0c4de",
|
---|
48 | chroma.GenericEmph: "italic",
|
---|
49 | chroma.GenericHeading: "bold #a2cbff",
|
---|
50 | chroma.GenericInserted: "#a6e22e",
|
---|
51 | chroma.GenericOutput: "#a6e22e",
|
---|
52 | chroma.GenericUnderline: "underline",
|
---|
53 | chroma.GenericPrompt: "#a6e22e",
|
---|
54 | chroma.GenericStrong: "bold",
|
---|
55 | chroma.GenericSubheading: "#a2cbff",
|
---|
56 | chroma.GenericTraceback: "#a2cbff",
|
---|
57 | chroma.Background: "#b0c4de bg:#282c34",
|
---|
58 | }))
|
---|