Vendor Update (#16121)
* update github.com/PuerkitoBio/goquery * update github.com/alecthomas/chroma * update github.com/blevesearch/bleve/v2 * update github.com/caddyserver/certmagic * update github.com/go-enry/go-enry/v2 * update github.com/go-git/go-billy/v5 * update github.com/go-git/go-git/v5 * update github.com/go-redis/redis/v8 * update github.com/go-testfixtures/testfixtures/v3 * update github.com/jaytaylor/html2text * update github.com/json-iterator/go * update github.com/klauspost/compress * update github.com/markbates/goth * update github.com/mattn/go-isatty * update github.com/mholt/archiver/v3 * update github.com/microcosm-cc/bluemonday * update github.com/minio/minio-go/v7 * update github.com/prometheus/client_golang * update github.com/unrolled/render * update github.com/xanzy/go-gitlab * update github.com/yuin/goldmark * update github.com/yuin/goldmark-highlighting Co-authored-by: techknowlogick <techknowlogick@gitea.io>
This commit is contained in:
parent
f088dc4ea1
commit
86e2789960
819 changed files with 38072 additions and 34969 deletions
62
vendor/github.com/alecthomas/chroma/styles/xcode-dark.go
generated
vendored
Normal file
62
vendor/github.com/alecthomas/chroma/styles/xcode-dark.go
generated
vendored
Normal file
|
@ -0,0 +1,62 @@
|
|||
package styles
|
||||
|
||||
import (
|
||||
"github.com/alecthomas/chroma"
|
||||
)
|
||||
|
||||
var (
|
||||
// Inspired by Apple's Xcode "Default (Dark)" Theme
|
||||
background = "#1F1F24"
|
||||
plainText = "#FFFFFF"
|
||||
comments = "#6C7986"
|
||||
strings = "#FC6A5D"
|
||||
numbers = "#D0BF69"
|
||||
keywords = "#FC5FA3"
|
||||
preprocessorStatements = "#FD8F3F"
|
||||
typeDeclarations = "#5DD8FF"
|
||||
otherDeclarations = "#41A1C0"
|
||||
otherFunctionAndMethodNames = "#A167E6"
|
||||
otherTypeNames = "#D0A8FF"
|
||||
)
|
||||
|
||||
// Xcode dark style
|
||||
var XcodeDark = Register(chroma.MustNewStyle("xcode-dark", chroma.StyleEntries{
|
||||
chroma.Background: plainText + " bg: " + background,
|
||||
|
||||
chroma.Comment: comments,
|
||||
chroma.CommentMultiline: comments,
|
||||
chroma.CommentPreproc: preprocessorStatements,
|
||||
chroma.CommentSingle: comments,
|
||||
chroma.CommentSpecial: comments + " italic",
|
||||
|
||||
chroma.Error: "#960050",
|
||||
|
||||
chroma.Keyword: keywords,
|
||||
chroma.KeywordConstant: keywords,
|
||||
chroma.KeywordDeclaration: keywords,
|
||||
chroma.KeywordReserved: keywords,
|
||||
|
||||
chroma.LiteralNumber: numbers,
|
||||
chroma.LiteralNumberBin: numbers,
|
||||
chroma.LiteralNumberFloat: numbers,
|
||||
chroma.LiteralNumberHex: numbers,
|
||||
chroma.LiteralNumberInteger: numbers,
|
||||
chroma.LiteralNumberOct: numbers,
|
||||
|
||||
chroma.LiteralString: strings,
|
||||
chroma.LiteralStringEscape: strings,
|
||||
chroma.LiteralStringInterpol: plainText,
|
||||
|
||||
chroma.Name: plainText,
|
||||
chroma.NameBuiltin: otherTypeNames,
|
||||
chroma.NameBuiltinPseudo: otherFunctionAndMethodNames,
|
||||
chroma.NameClass: typeDeclarations,
|
||||
chroma.NameFunction: otherDeclarations,
|
||||
chroma.NameVariable: otherDeclarations,
|
||||
|
||||
chroma.Operator: plainText,
|
||||
|
||||
chroma.Punctuation: plainText,
|
||||
|
||||
chroma.Text: plainText,
|
||||
}))
|
Loading…
Add table
Add a link
Reference in a new issue