mirror of
https://gitea.com/gitea/tea.git
synced 2025-12-20 13:22:16 +01:00
Use glamour and termev to render/colorize content (#181)
Merge branch 'master' into use-glamour select Glamour Theme based on BackgroundColor Merge branch 'master' into use-glamour Merge branch 'master' into use-glamour update termev update go.mod label color colorate use glamour for issue content Vendor: Add glamour Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: 6543 <6543@obermui.de> Reviewed-on: https://gitea.com/gitea/tea/pulls/181 Reviewed-by: techknowlogick <techknowlogick@gitea.io> Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
This commit is contained in:
33
vendor/github.com/alecthomas/chroma/styles/monokailight.go
generated
vendored
Normal file
33
vendor/github.com/alecthomas/chroma/styles/monokailight.go
generated
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
package styles
|
||||
|
||||
import (
|
||||
"github.com/alecthomas/chroma"
|
||||
)
|
||||
|
||||
// MonokaiLight style.
|
||||
var MonokaiLight = Register(chroma.MustNewStyle("monokailight", chroma.StyleEntries{
|
||||
chroma.Text: "#272822",
|
||||
chroma.Error: "#960050 bg:#1e0010",
|
||||
chroma.Comment: "#75715e",
|
||||
chroma.Keyword: "#00a8c8",
|
||||
chroma.KeywordNamespace: "#f92672",
|
||||
chroma.Operator: "#f92672",
|
||||
chroma.Punctuation: "#111111",
|
||||
chroma.Name: "#111111",
|
||||
chroma.NameAttribute: "#75af00",
|
||||
chroma.NameClass: "#75af00",
|
||||
chroma.NameConstant: "#00a8c8",
|
||||
chroma.NameDecorator: "#75af00",
|
||||
chroma.NameException: "#75af00",
|
||||
chroma.NameFunction: "#75af00",
|
||||
chroma.NameOther: "#75af00",
|
||||
chroma.NameTag: "#f92672",
|
||||
chroma.LiteralNumber: "#ae81ff",
|
||||
chroma.Literal: "#ae81ff",
|
||||
chroma.LiteralDate: "#d88200",
|
||||
chroma.LiteralString: "#d88200",
|
||||
chroma.LiteralStringEscape: "#8045FF",
|
||||
chroma.GenericEmph: "italic",
|
||||
chroma.GenericStrong: "bold",
|
||||
chroma.Background: " bg:#fafafa",
|
||||
}))
|
||||
Reference in New Issue
Block a user