1
0
mirror of https://github.com/alecthomas/chroma.git synced 2025-12-05 23:08:23 +02:00

HTML formatter + import all Pygments styles.

This commit is contained in:
Alec Thomas
2017-07-19 23:51:16 -07:00
parent a3862242d5
commit d12529ae61
49 changed files with 1774 additions and 221 deletions

27
styles/arduino.go Normal file
View File

@@ -0,0 +1,27 @@
package styles
import (
"github.com/alecthomas/chroma"
)
// Arduino style.
var Arduino = Register(chroma.NewStyle("arduino", chroma.StyleEntries{
chroma.Error: "#a61717",
chroma.Comment: "#95a5a6",
chroma.CommentPreproc: "#728E00",
chroma.Keyword: "#728E00",
chroma.KeywordConstant: "#00979D",
chroma.KeywordPseudo: "#00979D",
chroma.KeywordReserved: "#00979D",
chroma.KeywordType: "#00979D",
chroma.Operator: "#728E00",
chroma.Name: "#434f54",
chroma.NameBuiltin: "#728E00",
chroma.NameFunction: "#D35400",
chroma.NameOther: "#728E00",
chroma.LiteralNumber: "#8A7B52",
chroma.LiteralString: "#7F8C8D",
chroma.Background: " bg:#ffffff",
}))