mirror of
https://github.com/go-gitea/gitea
synced 2024-11-14 14:14:25 +00:00
c4deb97ed1
* github.com/alecthomas/chroma v0.8.1 -> v0.8.2 Changelog: https://github.com/alecthomas/chroma/releases/tag/v0.8.2 * github.com/blevesearch/bleve v1.0.12 -> v1.0.13 Changelog: https://github.com/blevesearch/bleve/releases/tag/v1.0.13 * github.com/editorconfig/editorconfig-core-go v2.3.8 -> v2.3.9 Changelog: https://github.com/editorconfig/editorconfig-core-go/releases/tag/v2.3.9 * github.com/klauspost/compress v1.11.2 -> v1.11.3 Changelog: https://github.com/klauspost/compress/releases/tag/v1.11.3 * github.com/minio/minio-go v7.0.5 -> v7.0.6 Changelog: https://github.com/minio/minio-go/releases/tag/v7.0.6 Co-authored-by: Lauris BH <lauris@nix.lv>
82 lines
3.4 KiB
Go
Vendored
82 lines
3.4 KiB
Go
Vendored
package styles
|
|
|
|
import (
|
|
"github.com/alecthomas/chroma"
|
|
)
|
|
|
|
// Base16Snazzy style
|
|
var Base16Snazzy = Register(chroma.MustNewStyle("base16-snazzy", chroma.StyleEntries{
|
|
chroma.Comment: "#78787e",
|
|
chroma.CommentHashbang: "#78787e",
|
|
chroma.CommentMultiline: "#78787e",
|
|
chroma.CommentPreproc: "#78787e",
|
|
chroma.CommentSingle: "#78787e",
|
|
chroma.CommentSpecial: "#78787e",
|
|
chroma.Generic: "#e2e4e5",
|
|
chroma.GenericDeleted: "#ff5c57",
|
|
chroma.GenericEmph: "#e2e4e5 underline",
|
|
chroma.GenericError: "#ff5c57",
|
|
chroma.GenericHeading: "#e2e4e5 bold",
|
|
chroma.GenericInserted: "#e2e4e5 bold",
|
|
chroma.GenericOutput: "#43454f",
|
|
chroma.GenericPrompt: "#e2e4e5",
|
|
chroma.GenericStrong: "#e2e4e5 italic",
|
|
chroma.GenericSubheading: "#e2e4e5 bold",
|
|
chroma.GenericTraceback: "#e2e4e5",
|
|
chroma.GenericUnderline: "underline",
|
|
chroma.Error: "#ff5c57",
|
|
chroma.Keyword: "#ff6ac1",
|
|
chroma.KeywordConstant: "#ff6ac1",
|
|
chroma.KeywordDeclaration: "#ff5c57",
|
|
chroma.KeywordNamespace: "#ff6ac1",
|
|
chroma.KeywordPseudo: "#ff6ac1",
|
|
chroma.KeywordReserved: "#ff6ac1",
|
|
chroma.KeywordType: "#9aedfe",
|
|
chroma.Literal: "#e2e4e5",
|
|
chroma.LiteralDate: "#e2e4e5",
|
|
chroma.Name: "#e2e4e5",
|
|
chroma.NameAttribute: "#57c7ff",
|
|
chroma.NameBuiltin: "#ff5c57",
|
|
chroma.NameBuiltinPseudo: "#e2e4e5",
|
|
chroma.NameClass: "#f3f99d",
|
|
chroma.NameConstant: "#ff9f43",
|
|
chroma.NameDecorator: "#ff9f43",
|
|
chroma.NameEntity: "#e2e4e5",
|
|
chroma.NameException: "#e2e4e5",
|
|
chroma.NameFunction: "#57c7ff",
|
|
chroma.NameLabel: "#ff5c57",
|
|
chroma.NameNamespace: "#e2e4e5",
|
|
chroma.NameOther: "#e2e4e5",
|
|
chroma.NameTag: "#ff6ac1",
|
|
chroma.NameVariable: "#ff5c57",
|
|
chroma.NameVariableClass: "#ff5c57",
|
|
chroma.NameVariableGlobal: "#ff5c57",
|
|
chroma.NameVariableInstance: "#ff5c57",
|
|
chroma.LiteralNumber: "#ff9f43",
|
|
chroma.LiteralNumberBin: "#ff9f43",
|
|
chroma.LiteralNumberFloat: "#ff9f43",
|
|
chroma.LiteralNumberHex: "#ff9f43",
|
|
chroma.LiteralNumberInteger: "#ff9f43",
|
|
chroma.LiteralNumberIntegerLong: "#ff9f43",
|
|
chroma.LiteralNumberOct: "#ff9f43",
|
|
chroma.Operator: "#ff6ac1",
|
|
chroma.OperatorWord: "#ff6ac1",
|
|
chroma.Other: "#e2e4e5",
|
|
chroma.Punctuation: "#e2e4e5",
|
|
chroma.LiteralString: "#5af78e",
|
|
chroma.LiteralStringBacktick: "#5af78e",
|
|
chroma.LiteralStringChar: "#5af78e",
|
|
chroma.LiteralStringDoc: "#5af78e",
|
|
chroma.LiteralStringDouble: "#5af78e",
|
|
chroma.LiteralStringEscape: "#5af78e",
|
|
chroma.LiteralStringHeredoc: "#5af78e",
|
|
chroma.LiteralStringInterpol: "#5af78e",
|
|
chroma.LiteralStringOther: "#5af78e",
|
|
chroma.LiteralStringRegex: "#5af78e",
|
|
chroma.LiteralStringSingle: "#5af78e",
|
|
chroma.LiteralStringSymbol: "#5af78e",
|
|
chroma.Text: "#e2e4e5",
|
|
chroma.TextWhitespace: "#e2e4e5",
|
|
chroma.Background: " bg:#282a36",
|
|
}))
|