mirror of
https://gitea.com/gitea/tea.git
synced 2024-11-24 19:41:36 +01:00
47 lines
1.7 KiB
Go
47 lines
1.7 KiB
Go
|
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",
|
||
|
}))
|