Skip to content

Commit

Permalink
Provide some default styles for RRT (fixes #212) (#219)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jos512 authored and alecthomas committed Jan 23, 2019
1 parent da5ac60 commit abbe00c
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions styles/rrt.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.KeywordType: "#ee82ee",
chroma.Background: " bg:#000000",
chroma.CommentPreproc: "#e5e5e5",
chroma.Comment: "#00ff00",
chroma.KeywordType: "#ee82ee",
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",
}))

0 comments on commit abbe00c

Please sign in to comment.