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:
46
vendor/github.com/alecthomas/chroma/styles/solarized-dark.go
generated
vendored
Normal file
46
vendor/github.com/alecthomas/chroma/styles/solarized-dark.go
generated
vendored
Normal file
@@ -0,0 +1,46 @@
|
||||
package styles
|
||||
|
||||
import (
|
||||
"github.com/alecthomas/chroma"
|
||||
)
|
||||
|
||||
// SolarizedDark style.
|
||||
var SolarizedDark = Register(chroma.MustNewStyle("solarized-dark", chroma.StyleEntries{
|
||||
chroma.Keyword: "#719e07",
|
||||
chroma.KeywordConstant: "#CB4B16",
|
||||
chroma.KeywordDeclaration: "#268BD2",
|
||||
chroma.KeywordReserved: "#268BD2",
|
||||
chroma.KeywordType: "#DC322F",
|
||||
chroma.NameAttribute: "#93A1A1",
|
||||
chroma.NameBuiltin: "#B58900",
|
||||
chroma.NameBuiltinPseudo: "#268BD2",
|
||||
chroma.NameClass: "#268BD2",
|
||||
chroma.NameConstant: "#CB4B16",
|
||||
chroma.NameDecorator: "#268BD2",
|
||||
chroma.NameEntity: "#CB4B16",
|
||||
chroma.NameException: "#CB4B16",
|
||||
chroma.NameFunction: "#268BD2",
|
||||
chroma.NameTag: "#268BD2",
|
||||
chroma.NameVariable: "#268BD2",
|
||||
chroma.LiteralString: "#2AA198",
|
||||
chroma.LiteralStringBacktick: "#586E75",
|
||||
chroma.LiteralStringChar: "#2AA198",
|
||||
chroma.LiteralStringDoc: "#93A1A1",
|
||||
chroma.LiteralStringEscape: "#CB4B16",
|
||||
chroma.LiteralStringHeredoc: "#93A1A1",
|
||||
chroma.LiteralStringRegex: "#DC322F",
|
||||
chroma.LiteralNumber: "#2AA198",
|
||||
chroma.Operator: "#719e07",
|
||||
chroma.Comment: "#586E75",
|
||||
chroma.CommentPreproc: "#719e07",
|
||||
chroma.CommentSpecial: "#719e07",
|
||||
chroma.GenericDeleted: "#DC322F",
|
||||
chroma.GenericEmph: "italic",
|
||||
chroma.GenericError: "#DC322F bold",
|
||||
chroma.GenericHeading: "#CB4B16",
|
||||
chroma.GenericInserted: "#719e07",
|
||||
chroma.GenericStrong: "bold",
|
||||
chroma.GenericSubheading: "#268BD2",
|
||||
chroma.Background: "#93A1A1 bg:#002B36",
|
||||
chroma.Other: "#CB4B16",
|
||||
}))
|
||||
Reference in New Issue
Block a user