mirror of
https://gitea.com/gitea/tea.git
synced 2024-11-24 11:31:36 +01:00
89e93d90b3
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>
27 lines
884 B
Go
27 lines
884 B
Go
package styles
|
|
|
|
import (
|
|
"github.com/alecthomas/chroma"
|
|
)
|
|
|
|
// Fruity style.
|
|
var Fruity = Register(chroma.MustNewStyle("fruity", chroma.StyleEntries{
|
|
chroma.TextWhitespace: "#888888",
|
|
chroma.Background: "#ffffff bg:#111111",
|
|
chroma.GenericOutput: "#444444 bg:#222222",
|
|
chroma.Keyword: "#fb660a bold",
|
|
chroma.KeywordPseudo: "nobold",
|
|
chroma.LiteralNumber: "#0086f7 bold",
|
|
chroma.NameTag: "#fb660a bold",
|
|
chroma.NameVariable: "#fb660a",
|
|
chroma.Comment: "#008800 bg:#0f140f italic",
|
|
chroma.NameAttribute: "#ff0086 bold",
|
|
chroma.LiteralString: "#0086d2",
|
|
chroma.NameFunction: "#ff0086 bold",
|
|
chroma.GenericHeading: "#ffffff bold",
|
|
chroma.KeywordType: "#cdcaa9 bold",
|
|
chroma.GenericSubheading: "#ffffff bold",
|
|
chroma.NameConstant: "#0086d2",
|
|
chroma.CommentPreproc: "#ff0007 bold",
|
|
}))
|