all repos — vite @ rewrite

a fast (this time, actually) and minimal static site generator

markdown/style.go (view raw)

 1package markdown
 2
 3import (
 4	"github.com/alecthomas/chroma"
 5)
 6
 7var Icy = chroma.MustNewStyle("icy", chroma.StyleEntries{
 8	chroma.CommentMultiline:     "italic #999988",
 9	chroma.CommentPreproc:       "bold #999999",
10	chroma.CommentSingle:        "italic #999988",
11	chroma.CommentSpecial:       "bold italic #999999",
12	chroma.Comment:              "italic #999988",
13	chroma.Error:                "bg:#e3d2d2 #a61717",
14	chroma.GenericDeleted:       "bg:#ffdddd #000000",
15	chroma.GenericEmph:          "italic #000000",
16	chroma.GenericError:         "#aa0000",
17	chroma.GenericHeading:       "#999999",
18	chroma.GenericInserted:      "bg:#ddffdd #000000",
19	chroma.GenericOutput:        "#888888",
20	chroma.GenericPrompt:        "#555555",
21	chroma.GenericStrong:        "bold",
22	chroma.GenericSubheading:    "#aaaaaa",
23	chroma.GenericTraceback:     "#aa0000",
24	chroma.GenericUnderline:     "underline",
25	chroma.KeywordType:          "bold #222222",
26	chroma.Keyword:              "bold #000000",
27	chroma.LiteralNumber:        "#009999",
28	chroma.LiteralStringRegex:   "#009926",
29	chroma.LiteralStringSymbol:  "#990073",
30	chroma.LiteralString:        "#509c93",
31	chroma.NameAttribute:        "#008080",
32	chroma.NameBuiltinPseudo:    "#999999",
33	chroma.NameBuiltin:          "#0086B3",
34	chroma.NameClass:            "bold #666666",
35	chroma.NameConstant:         "#008080",
36	chroma.NameDecorator:        "bold #3c5d5d",
37	chroma.NameEntity:           "#800080",
38	chroma.NameException:        "bold #444444",
39	chroma.NameFunction:         "bold #444444",
40	chroma.NameLabel:            "bold #444444",
41	chroma.NameNamespace:        "#555555",
42	chroma.NameTag:              "#000080",
43	chroma.NameVariableClass:    "#008080",
44	chroma.NameVariableGlobal:   "#008080",
45	chroma.NameVariableInstance: "#008080",
46	chroma.NameVariable:         "#008080",
47	chroma.Operator:             "bold #000000",
48	chroma.TextWhitespace:       "#bbbbbb",
49	chroma.Background:           " bg:#ffffff",
50})