Files
remark42/backend/vendor/github.com/alecthomas/chroma/styles/fruity.go
T
1e548eb85f Code colors (backend support) (#590)
* testing code highlight with bfchroma render

* add bfchroma vendoring

* render code htm with classes

* adjust bfchroma test cases inside formatter

* go mod tidy

* fix markdown code render tests

* adjust comment text sanitizer to permit code HTML classes

* go mod tidy

* add chroma classes list regexp

* unify gitignore entries style

Co-authored-by: Umputun <umputun@gmail.com>
2020-02-08 21:11:12 -06:00

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",
}))