1
0
mirror of https://github.com/alecthomas/chroma.git synced 2025-03-17 20:58:08 +02:00

Provide some default styles for RRT (fixes #212) (#219)

This commit is contained in:
Jos512 2019-01-23 08:48:27 +01:00 committed by Alec Thomas
parent da5ac60d8c
commit abbe00cecd

View File

@ -6,13 +6,15 @@ import (
// Rrt style.
var Rrt = Register(chroma.MustNewStyle("rrt", chroma.StyleEntries{
chroma.Comment: "#00ff00",
chroma.NameFunction: "#ffff00",
chroma.NameVariable: "#eedd82",
chroma.NameConstant: "#7fffd4",
chroma.Keyword: "#ff0000",
chroma.CommentPreproc: "#e5e5e5",
chroma.LiteralString: "#87ceeb",
chroma.Comment: "#00ff00",
chroma.KeywordType: "#ee82ee",
chroma.Background: " bg:#000000",
chroma.Keyword: "#ff0000",
chroma.LiteralNumber: "#ff6600",
chroma.LiteralStringSymbol: "#ff6600",
chroma.LiteralString: "#87ceeb",
chroma.NameFunction: "#ffff00",
chroma.NameConstant: "#7fffd4",
chroma.NameVariable: "#eedd82",
chroma.Background: "#f8f8f2 bg:#000000",
}))