1 package styles 2 3 import ( 4 "github.com/alecthomas/chroma" 5 ) 6 7 // Lovelace style. 8 var Lovelace = Register(chroma.MustNewStyle("lovelace", chroma.StyleEntries{ 9 chroma.TextWhitespace: "#a89028", 10 chroma.Comment: "italic #888888", 11 chroma.CommentHashbang: "#287088", 12 chroma.CommentMultiline: "#888888", 13 chroma.CommentPreproc: "noitalic #289870", 14 chroma.Keyword: "#2838b0", 15 chroma.KeywordConstant: "italic #444444", 16 chroma.KeywordDeclaration: "italic", 17 chroma.KeywordType: "italic", 18 chroma.Operator: "#666666", 19 chroma.OperatorWord: "#a848a8", 20 chroma.Punctuation: "#888888", 21 chroma.NameAttribute: "#388038", 22 chroma.NameBuiltin: "#388038", 23 chroma.NameBuiltinPseudo: "italic", 24 chroma.NameClass: "#287088", 25 chroma.NameConstant: "#b85820", 26 chroma.NameDecorator: "#287088", 27 chroma.NameEntity: "#709030", 28 chroma.NameException: "#908828", 29 chroma.NameFunction: "#785840", 30 chroma.NameFunctionMagic: "#b85820", 31 chroma.NameLabel: "#289870", 32 chroma.NameNamespace: "#289870", 33 chroma.NameTag: "#2838b0", 34 chroma.NameVariable: "#b04040", 35 chroma.NameVariableGlobal: "#908828", 36 chroma.NameVariableMagic: "#b85820", 37 chroma.LiteralString: "#b83838", 38 chroma.LiteralStringAffix: "#444444", 39 chroma.LiteralStringChar: "#a848a8", 40 chroma.LiteralStringDelimiter: "#b85820", 41 chroma.LiteralStringDoc: "italic #b85820", 42 chroma.LiteralStringEscape: "#709030", 43 chroma.LiteralStringInterpol: "underline", 44 chroma.LiteralStringOther: "#a848a8", 45 chroma.LiteralStringRegex: "#a848a8", 46 chroma.LiteralNumber: "#444444", 47 chroma.GenericDeleted: "#c02828", 48 chroma.GenericEmph: "italic", 49 chroma.GenericError: "#c02828", 50 chroma.GenericHeading: "#666666", 51 chroma.GenericSubheading: "#444444", 52 chroma.GenericInserted: "#388038", 53 chroma.GenericOutput: "#666666", 54 chroma.GenericPrompt: "#444444", 55 chroma.GenericStrong: "bold", 56 chroma.GenericTraceback: "#2838b0", 57 chroma.GenericUnderline: "underline", 58 chroma.Error: "bg:#a848a8", 59 chroma.Background: " bg:#ffffff", 60 })) 61