forked from alecthomas/chroma
-
Notifications
You must be signed in to change notification settings - Fork 0
/
swapoff.go
25 lines (23 loc) · 843 Bytes
/
swapoff.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package styles
import (
"github.com/alecthomas/chroma"
)
// SwapOff theme.
var SwapOff = Register(chroma.MustNewStyle("swapoff", map[chroma.TokenType]string{
chroma.Background: "#lightgray bg:#black",
chroma.Number: "bold #ansiyellow",
chroma.Comment: "#ansiteal",
chroma.CommentPreproc: "bold #ansigreen",
chroma.String: "bold #ansiturquoise",
chroma.Keyword: "bold #ansiwhite",
chroma.NameKeyword: "bold #ansiwhite",
chroma.NameBuiltin: "bold #ansiwhite",
chroma.GenericHeading: "bold",
chroma.GenericSubheading: "bold",
chroma.GenericStrong: "bold",
chroma.GenericUnderline: "underline",
chroma.NameTag: "bold",
chroma.NameAttribute: "#ansiteal",
chroma.Error: "#ansired",
chroma.LiteralDate: "bold #ansiyellow",
}))