mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-15 17:49:20 +08:00
27 lines
884 B
Go
27 lines
884 B
Go
|
package styles
|
||
|
|
||
|
import (
|
||
|
"github.com/alecthomas/chroma"
|
||
|
)
|
||
|
|
||
|
// Fruity style.
|
||
|
var Fruity = Register(chroma.MustNewStyle("fruity", chroma.StyleEntries{
|
||
|
chroma.TextWhitespace: "#888888",
|
||
|
chroma.Background: "#ffffff bg:#111111",
|
||
|
chroma.GenericOutput: "#444444 bg:#222222",
|
||
|
chroma.Keyword: "#fb660a bold",
|
||
|
chroma.KeywordPseudo: "nobold",
|
||
|
chroma.LiteralNumber: "#0086f7 bold",
|
||
|
chroma.NameTag: "#fb660a bold",
|
||
|
chroma.NameVariable: "#fb660a",
|
||
|
chroma.Comment: "#008800 bg:#0f140f italic",
|
||
|
chroma.NameAttribute: "#ff0086 bold",
|
||
|
chroma.LiteralString: "#0086d2",
|
||
|
chroma.NameFunction: "#ff0086 bold",
|
||
|
chroma.GenericHeading: "#ffffff bold",
|
||
|
chroma.KeywordType: "#cdcaa9 bold",
|
||
|
chroma.GenericSubheading: "#ffffff bold",
|
||
|
chroma.NameConstant: "#0086d2",
|
||
|
chroma.CommentPreproc: "#ff0007 bold",
|
||
|
}))
|