1 package styles
2
3 import (
4 "github.com/alecthomas/chroma"
5 )
6
7
8 var Dracula = Register(chroma.MustNewStyle("dracula", chroma.StyleEntries{
9 chroma.Comment: "#6272a4",
10 chroma.CommentHashbang: "#6272a4",
11 chroma.CommentMultiline: "#6272a4",
12 chroma.CommentPreproc: "#ff79c6",
13 chroma.CommentSingle: "#6272a4",
14 chroma.CommentSpecial: "#6272a4",
15 chroma.Generic: "#f8f8f2",
16 chroma.GenericDeleted: "#ff5555",
17 chroma.GenericEmph: "#f8f8f2 underline",
18 chroma.GenericError: "#f8f8f2",
19 chroma.GenericHeading: "#f8f8f2 bold",
20 chroma.GenericInserted: "#50fa7b bold",
21 chroma.GenericOutput: "#44475a",
22 chroma.GenericPrompt: "#f8f8f2",
23 chroma.GenericStrong: "#f8f8f2",
24 chroma.GenericSubheading: "#f8f8f2 bold",
25 chroma.GenericTraceback: "#f8f8f2",
26 chroma.GenericUnderline: "underline",
27 chroma.Error: "#f8f8f2",
28 chroma.Keyword: "#ff79c6",
29 chroma.KeywordConstant: "#ff79c6",
30 chroma.KeywordDeclaration: "#8be9fd italic",
31 chroma.KeywordNamespace: "#ff79c6",
32 chroma.KeywordPseudo: "#ff79c6",
33 chroma.KeywordReserved: "#ff79c6",
34 chroma.KeywordType: "#8be9fd",
35 chroma.Literal: "#f8f8f2",
36 chroma.LiteralDate: "#f8f8f2",
37 chroma.Name: "#f8f8f2",
38 chroma.NameAttribute: "#50fa7b",
39 chroma.NameBuiltin: "#8be9fd italic",
40 chroma.NameBuiltinPseudo: "#f8f8f2",
41 chroma.NameClass: "#50fa7b",
42 chroma.NameConstant: "#f8f8f2",
43 chroma.NameDecorator: "#f8f8f2",
44 chroma.NameEntity: "#f8f8f2",
45 chroma.NameException: "#f8f8f2",
46 chroma.NameFunction: "#50fa7b",
47 chroma.NameLabel: "#8be9fd italic",
48 chroma.NameNamespace: "#f8f8f2",
49 chroma.NameOther: "#f8f8f2",
50 chroma.NameTag: "#ff79c6",
51 chroma.NameVariable: "#8be9fd italic",
52 chroma.NameVariableClass: "#8be9fd italic",
53 chroma.NameVariableGlobal: "#8be9fd italic",
54 chroma.NameVariableInstance: "#8be9fd italic",
55 chroma.LiteralNumber: "#bd93f9",
56 chroma.LiteralNumberBin: "#bd93f9",
57 chroma.LiteralNumberFloat: "#bd93f9",
58 chroma.LiteralNumberHex: "#bd93f9",
59 chroma.LiteralNumberInteger: "#bd93f9",
60 chroma.LiteralNumberIntegerLong: "#bd93f9",
61 chroma.LiteralNumberOct: "#bd93f9",
62 chroma.Operator: "#ff79c6",
63 chroma.OperatorWord: "#ff79c6",
64 chroma.Other: "#f8f8f2",
65 chroma.Punctuation: "#f8f8f2",
66 chroma.LiteralString: "#f1fa8c",
67 chroma.LiteralStringBacktick: "#f1fa8c",
68 chroma.LiteralStringChar: "#f1fa8c",
69 chroma.LiteralStringDoc: "#f1fa8c",
70 chroma.LiteralStringDouble: "#f1fa8c",
71 chroma.LiteralStringEscape: "#f1fa8c",
72 chroma.LiteralStringHeredoc: "#f1fa8c",
73 chroma.LiteralStringInterpol: "#f1fa8c",
74 chroma.LiteralStringOther: "#f1fa8c",
75 chroma.LiteralStringRegex: "#f1fa8c",
76 chroma.LiteralStringSingle: "#f1fa8c",
77 chroma.LiteralStringSymbol: "#f1fa8c",
78 chroma.Text: "#f8f8f2",
79 chroma.TextWhitespace: "#f8f8f2",
80 chroma.Background: " bg:#282a36",
81 }))
82
View as plain text