mirror of
https://gitea.com/gitea/tea.git
synced 2024-11-25 03:51:36 +01:00
d6df0a53b5
Co-authored-by: Norwin Roosen <git@nroo.de> Co-authored-by: Norwin <git@nroo.de> Reviewed-on: https://gitea.com/gitea/tea/pulls/390 Reviewed-by: 6543 <6543@obermui.de> Reviewed-by: Andrew Thornton <art27@cantab.net> Co-authored-by: Norwin <noerw@noreply.gitea.io> Co-committed-by: Norwin <noerw@noreply.gitea.io>
82 lines
3.4 KiB
Go
82 lines
3.4 KiB
Go
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",
|
|
}))
|