|
| 1 | +package styles |
| 2 | + |
| 3 | +import ( |
| 4 | + "github.com/alecthomas/chroma" |
| 5 | +) |
| 6 | + |
| 7 | +// Doom One 2 style. Inspired by Atom One and Doom Emacs's Atom One theme |
| 8 | +var DoomOne2 = Register(chroma.MustNewStyle("doom-one2", chroma.StyleEntries{ |
| 9 | + chroma.Text: "#b0c4de", |
| 10 | + chroma.Error: "#b0c4de", |
| 11 | + chroma.Comment: "italic #8a93a5", |
| 12 | + chroma.CommentHashbang: "bold", |
| 13 | + chroma.Keyword: "#76a9f9", |
| 14 | + chroma.KeywordConstant: "#e5c07b", |
| 15 | + chroma.KeywordType: "#e5c07b", |
| 16 | + chroma.Operator: "#54b1c7", |
| 17 | + chroma.OperatorWord: "bold #b756ff", |
| 18 | + chroma.Punctuation: "#abb2bf", |
| 19 | + chroma.Name: "#aa89ea", |
| 20 | + chroma.NameAttribute: "#cebc3a", |
| 21 | + chroma.NameBuiltin: "#e5c07b", |
| 22 | + chroma.NameClass: "#ca72ff", |
| 23 | + chroma.NameConstant: "bold", |
| 24 | + chroma.NameDecorator: "#e5c07b", |
| 25 | + chroma.NameEntity: "#bda26f", |
| 26 | + chroma.NameException: "bold #fd7474", |
| 27 | + chroma.NameFunction: "#00b1f7", |
| 28 | + chroma.NameProperty: "#cebc3a", |
| 29 | + chroma.NameLabel: "#f5a40d", |
| 30 | + chroma.NameNamespace: "#ca72ff", |
| 31 | + chroma.NameTag: "#76a9f9", |
| 32 | + chroma.NameVariable: "#DCAEEA", |
| 33 | + chroma.NameVariableClass: "#DCAEEA", |
| 34 | + chroma.NameVariableGlobal: "bold #DCAEEA", |
| 35 | + chroma.NameVariableInstance: "#e06c75", |
| 36 | + chroma.NameVariableMagic: "#DCAEEA", |
| 37 | + chroma.Literal: "#98c379", |
| 38 | + chroma.LiteralDate: "#98c379", |
| 39 | + chroma.Number: "#d19a66", |
| 40 | + chroma.NumberBin: "#d19a66", |
| 41 | + chroma.NumberFloat: "#d19a66", |
| 42 | + chroma.NumberHex: "#d19a66", |
| 43 | + chroma.NumberInteger: "#d19a66", |
| 44 | + chroma.NumberIntegerLong: "#d19a66", |
| 45 | + chroma.NumberOct: "#d19a66", |
| 46 | + chroma.String: "#98c379", |
| 47 | + chroma.StringAffix: "#98c379", |
| 48 | + chroma.StringBacktick: "#98c379", |
| 49 | + chroma.StringDelimiter: "#98c379", |
| 50 | + chroma.StringDoc: "#7e97c3", |
| 51 | + chroma.StringDouble: "#63c381", |
| 52 | + chroma.StringEscape: "bold #d26464", |
| 53 | + chroma.StringHeredoc: "#98c379", |
| 54 | + chroma.StringInterpol: "#98c379", |
| 55 | + chroma.StringOther: "#70b33f", |
| 56 | + chroma.StringRegex: "#56b6c2", |
| 57 | + chroma.StringSingle: "#98c379", |
| 58 | + chroma.StringSymbol: "#56b6c2", |
| 59 | + chroma.Generic: "#b0c4de", |
| 60 | + chroma.GenericDeleted: "#b0c4de", |
| 61 | + chroma.GenericEmph: "italic", |
| 62 | + chroma.GenericHeading: "bold #a2cbff", |
| 63 | + chroma.GenericInserted: "#a6e22e", |
| 64 | + chroma.GenericOutput: "#a6e22e", |
| 65 | + chroma.GenericUnderline: "underline", |
| 66 | + chroma.GenericPrompt: "#a6e22e", |
| 67 | + chroma.GenericStrong: "bold", |
| 68 | + chroma.GenericSubheading: "#a2cbff", |
| 69 | + chroma.GenericTraceback: "#a2cbff", |
| 70 | + chroma.Background: "#b0c4de bg:#282c34", |
| 71 | +})) |
0 commit comments