diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2024-10-25 00:47:47 +0200 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2024-10-25 00:47:47 +0200 |
| commit | c6cc0108ca7738023b45e0eeac0fa2390532dd93 (patch) | |
| tree | 36890e6cd3091bbab8efbe686cc56f467f645bfd /vendor/github.com/alecthomas/chroma/v2/styles | |
| parent | 0130404a1dc663d4aa68d780c9bcb23a4243e68d (diff) | |
| download | jbmafp-c6cc0108ca7738023b45e0eeac0fa2390532dd93.tar.gz | |
Diffstat (limited to 'vendor/github.com/alecthomas/chroma/v2/styles')
49 files changed, 2178 insertions, 0 deletions
diff --git a/vendor/github.com/alecthomas/chroma/v2/styles/abap.go b/vendor/github.com/alecthomas/chroma/v2/styles/abap.go new file mode 100644 index 0000000..2807dc7 --- /dev/null +++ b/vendor/github.com/alecthomas/chroma/v2/styles/abap.go | |||
| @@ -0,0 +1,18 @@ | |||
| 1 | package styles | ||
| 2 | |||
| 3 | import ( | ||
| 4 | "github.com/alecthomas/chroma/v2" | ||
| 5 | ) | ||
| 6 | |||
| 7 | // Abap style. | ||
| 8 | var Abap = Register(chroma.MustNewStyle("abap", chroma.StyleEntries{ | ||
| 9 | chroma.Comment: "italic #888", | ||
| 10 | chroma.CommentSpecial: "#888", | ||
| 11 | chroma.Keyword: "#00f", | ||
| 12 | chroma.OperatorWord: "#00f", | ||
| 13 | chroma.Name: "#000", | ||
| 14 | chroma.LiteralNumber: "#3af", | ||
| 15 | chroma.LiteralString: "#5a2", | ||
| 16 | chroma.Error: "#F00", | ||
| 17 | chroma.Background: " bg:#ffffff", | ||
| 18 | })) | ||
diff --git a/vendor/github.com/alecthomas/chroma/v2/styles/algol.go b/vendor/github.com/alecthomas/chroma/v2/styles/algol.go new file mode 100644 index 0000000..b38715e --- /dev/null +++ b/vendor/github.com/alecthomas/chroma/v2/styles/algol.go | |||
| @@ -0,0 +1,25 @@ | |||
| 1 | package styles | ||
| 2 | |||
| 3 | import ( | ||
| 4 | "github.com/alecthomas/chroma/v2" | ||
| 5 | ) | ||
| 6 | |||
| 7 | // Algol style. | ||
| 8 | var Algol = Register(chroma.MustNewStyle("algol", chroma.StyleEntries{ | ||
| 9 | chroma.Comment: "italic #888", | ||
| 10 | chroma.CommentPreproc: "bold noitalic #888", | ||
| 11 | chroma.CommentSpecial: "bold noitalic #888", | ||
| 12 | chroma.Keyword: "underline bold", | ||
| 13 | chroma.KeywordDeclaration: "italic", | ||
| 14 | chroma.NameBuiltin: "bold italic", | ||
| 15 | chroma.NameBuiltinPseudo: "bold italic", | ||
| 16 | chroma.NameNamespace: "bold italic #666", | ||
| 17 | chroma.NameClass: "bold italic #666", | ||
| 18 | chroma.NameFunction: "bold italic #666", | ||
| 19 | chroma.NameVariable: "bold italic #666", | ||
| 20 | chroma.NameConstant: "bold italic #666", | ||
| 21 | chroma.OperatorWord: "bold", | ||
| 22 | chroma.LiteralString: "italic #666", | ||
| 23 | chroma.Error: "border:#FF0000", | ||
| 24 | chroma.Background: " bg:#ffffff", | ||
| 25 | })) | ||
diff --git a/vendor/github.com/alecthomas/chroma/v2/styles/algol_nu.go b/vendor/github.com/alecthomas/chroma/v2/styles/algol_nu.go new file mode 100644 index 0000000..487086d --- /dev/null +++ b/vendor/github.com/alecthomas/chroma/v2/styles/algol_nu.go | |||
| @@ -0,0 +1,25 @@ | |||
| 1 | package styles | ||
| 2 | |||
| 3 | import ( | ||
| 4 | "github.com/alecthomas/chroma/v2" | ||
| 5 | ) | ||
| 6 | |||
| 7 | // AlgolNu style. | ||
| 8 | var AlgolNu = Register(chroma.MustNewStyle("algol_nu", chroma.StyleEntries{ | ||
| 9 | chroma.Comment: "italic #888", | ||
| 10 | chroma.CommentPreproc: "bold noitalic #888", | ||
| 11 | chroma.CommentSpecial: "bold noitalic #888", | ||
| 12 | chroma.Keyword: "bold", | ||
| 13 | chroma.KeywordDeclaration: "italic", | ||
| 14 | chroma.NameBuiltin: "bold italic", | ||
| 15 | chroma.NameBuiltinPseudo: "bold italic", | ||
| 16 | chroma.NameNamespace: "bold italic #666", | ||
| 17 | chroma.NameClass: "bold italic #666", | ||
| 18 | chroma.NameFunction: "bold italic #666", | ||
| 19 | chroma.NameVariable: "bold italic #666", | ||
| 20 | chroma.NameConstant: "bold italic #666", | ||
| 21 | chroma.OperatorWord: "bold", | ||
| 22 | chroma.LiteralString: "italic #666", | ||
| 23 | chroma.Error: "border:#FF0000", | ||
| 24 | chroma.Background: " bg:#ffffff", | ||
| 25 | })) | ||
diff --git a/vendor/github.com/alecthomas/chroma/v2/styles/api.go b/vendor/github.com/alecthomas/chroma/v2/styles/api.go new file mode 100644 index 0000000..8c0dbe0 --- /dev/null +++ b/vendor/github.com/alecthomas/chroma/v2/styles/api.go | |||
| @@ -0,0 +1,37 @@ | |||
| 1 | package styles | ||
| 2 | |||
| 3 | import ( | ||
| 4 | "sort" | ||
| 5 | |||
| 6 | "github.com/alecthomas/chroma/v2" | ||
| 7 | ) | ||
| 8 | |||
| 9 | // Registry of Styles. | ||
| 10 | var Registry = map[string]*chroma.Style{} | ||
| 11 | |||
| 12 | // Fallback style. Reassign to change the default fallback style. | ||
| 13 | var Fallback = SwapOff | ||
| 14 | |||
| 15 | // Register a chroma.Style. | ||
| 16 | func Register(style *chroma.Style) *chroma.Style { | ||
| 17 | Registry[style.Name] = style | ||
| 18 | return style | ||
| 19 | } | ||
| 20 | |||
| 21 | // Names of all available styles. | ||
| 22 | func Names() []string { | ||
| 23 | out := []string{} | ||
| 24 | for name := range Registry { | ||
| 25 | out = append(out, name) | ||
| 26 | } | ||
| 27 | sort.Strings(out) | ||
| 28 | return out | ||
| 29 | } | ||
| 30 | |||
| 31 | // Get named style, or Fallback. | ||
| 32 | func Get(name string) *chroma.Style { | ||
| 33 | if style, ok := Registry[name]; ok { | ||
| 34 | return style | ||
| 35 | } | ||
| 36 | return Fallback | ||
| 37 | } | ||
diff --git a/vendor/github.com/alecthomas/chroma/v2/styles/arduino.go b/vendor/github.com/alecthomas/chroma/v2/styles/arduino.go new file mode 100644 index 0000000..3099b7e --- /dev/null +++ b/vendor/github.com/alecthomas/chroma/v2/styles/arduino.go | |||
| @@ -0,0 +1,25 @@ | |||
| 1 | package styles | ||
| 2 | |||
| 3 | import ( | ||
| 4 | "github.com/alecthomas/chroma/v2" | ||
| 5 | ) | ||
| 6 | |||
| 7 | // Arduino style. | ||
| 8 | var Arduino = Register(chroma.MustNewStyle("arduino", chroma.StyleEntries{ | ||
| 9 | chroma.Error: "#a61717", | ||
| 10 | chroma.Comment: "#95a5a6", | ||
| 11 | chroma.CommentPreproc: "#728E00", | ||
| 12 | chroma.Keyword: "#728E00", | ||
| 13 | chroma.KeywordConstant: "#00979D", | ||
| 14 | chroma.KeywordPseudo: "#00979D", | ||
| 15 | chroma.KeywordReserved: "#00979D", | ||
| 16 | chroma.KeywordType: "#00979D", | ||
| 17 | chroma.Operator: "#728E00", | ||
| 18 | chroma.Name: "#434f54", | ||
| 19 | chroma.NameBuiltin: "#728E00", | ||
| 20 | chroma.NameFunction: "#D35400", | ||
| 21 | chroma.NameOther: "#728E00", | ||
| 22 | chroma.LiteralNumber: "#8A7B52", | ||
| 23 | chroma.LiteralString: "#7F8C8D", | ||
| 24 | chroma.Background: " bg:#ffffff", | ||
| 25 | })) | ||
diff --git a/vendor/github.com/alecthomas/chroma/v2/styles/autumn.go b/vendor/github.com/alecthomas/chroma/v2/styles/autumn.go new file mode 100644 index 0000000..df22500 --- /dev/null +++ b/vendor/github.com/alecthomas/chroma/v2/styles/autumn.go | |||
| @@ -0,0 +1,43 @@ | |||
| 1 | package styles | ||
| 2 | |||
| 3 | import ( | ||
| 4 | "github.com/alecthomas/chroma/v2" | ||
| 5 | ) | ||
| 6 | |||
| 7 | // Autumn style. | ||
| 8 | var Autumn = Register(chroma.MustNewStyle("autumn", chroma.StyleEntries{ | ||
| 9 | chroma.TextWhitespace: "#bbbbbb", | ||
| 10 | chroma.Comment: "italic #aaaaaa", | ||
| 11 | chroma.CommentPreproc: "noitalic #4c8317", | ||
| 12 | chroma.CommentSpecial: "italic #0000aa", | ||
| 13 | chroma.Keyword: "#0000aa", | ||
| 14 | chroma.KeywordType: "#00aaaa", | ||
| 15 | chroma.OperatorWord: "#0000aa", | ||
| 16 | chroma.NameBuiltin: "#00aaaa", | ||
| 17 | chroma.NameFunction: "#00aa00", | ||
| 18 | chroma.NameClass: "underline #00aa00", | ||
| 19 | chroma.NameNamespace: "underline #00aaaa", | ||
| 20 | chroma.NameVariable: "#aa0000", | ||
| 21 | chroma.NameConstant: "#aa0000", | ||
| 22 | chroma.NameEntity: "bold #800", | ||
| 23 | chroma.NameAttribute: "#1e90ff", | ||
| 24 | chroma.NameTag: "bold #1e90ff", | ||
| 25 | chroma.NameDecorator: "#888888", | ||
| 26 | chroma.LiteralString: "#aa5500", | ||
| 27 | chroma.LiteralStringSymbol: "#0000aa", | ||
| 28 | chroma.LiteralStringRegex: "#009999", | ||
| 29 | chroma.LiteralNumber: "#009999", | ||
| 30 | chroma.GenericHeading: "bold #000080", | ||
| 31 | chroma.GenericSubheading: "bold #800080", | ||
| 32 | chroma.GenericDeleted: "#aa0000", | ||
| 33 | chroma.GenericInserted: "#00aa00", | ||
| 34 | chroma.GenericError: "#aa0000", | ||
| 35 | chroma.GenericEmph: "italic", | ||
| 36 | chroma.GenericStrong: "bold", | ||
| 37 | chroma.GenericPrompt: "#555555", | ||
| 38 | chroma.GenericOutput: "#888888", | ||
| 39 | chroma.GenericTraceback: "#aa0000", | ||
| 40 | chroma.GenericUnderline: "underline", | ||
| 41 | chroma.Error: "#F00 bg:#FAA", | ||
| 42 | chroma.Background: " bg:#ffffff", | ||
| 43 | })) | ||
diff --git a/vendor/github.com/alecthomas/chroma/v2/styles/average.go b/vendor/github.com/alecthomas/chroma/v2/styles/average.go new file mode 100644 index 0000000..b1276e2 --- /dev/null +++ b/vendor/github.com/alecthomas/chroma/v2/styles/average.go | |||
| @@ -0,0 +1,81 @@ | |||
| 1 | package styles | ||
| 2 | |||
| 3 | import ( | ||
| 4 | "github.com/alecthomas/chroma/v2" | ||
| 5 | ) | ||
| 6 | |||
| 7 | // Average style. | ||
| 8 | var Average = Register(chroma.MustNewStyle("average", chroma.StyleEntries{ | ||
| 9 | chroma.Comment: "#757575", | ||
| 10 | chroma.CommentHashbang: "#757575", | ||
| 11 | chroma.CommentMultiline: "#757575", | ||
| 12 | chroma.CommentPreproc: "#757575", | ||
| 13 | chroma.CommentSingle: "#757575", | ||
| 14 | chroma.CommentSpecial: "#757575", | ||
| 15 | chroma.Generic: "#757575", | ||
| 16 | chroma.GenericDeleted: "#ec0000", | ||
| 17 | chroma.GenericEmph: "#757575 underline", | ||
| 18 | chroma.GenericError: "#ec0000", | ||
| 19 | chroma.GenericHeading: "#757575 bold", | ||
| 20 | chroma.GenericInserted: "#757575 bold", | ||
| 21 | chroma.GenericOutput: "#757575", | ||
| 22 | chroma.GenericPrompt: "#757575", | ||
| 23 | chroma.GenericStrong: "#757575 italic", | ||
| 24 | chroma.GenericSubheading: "#757575 bold", | ||
| 25 | chroma.GenericTraceback: "#757575", | ||
| 26 | chroma.GenericUnderline: "underline", | ||
| 27 | chroma.Error: "#ec0000", | ||
| 28 | chroma.Keyword: "#ec0000", | ||
| 29 | chroma.KeywordConstant: "#ec0000", | ||
| 30 | chroma.KeywordDeclaration: "#ec0000", | ||
| 31 | chroma.KeywordNamespace: "#ec0000", | ||
| 32 | chroma.KeywordPseudo: "#ec0000", | ||
| 33 | chroma.KeywordReserved: "#ec0000", | ||
| 34 | chroma.KeywordType: "#5f5fff", | ||
| 35 | chroma.Literal: "#757575", | ||
| 36 | chroma.LiteralDate: "#757575", | ||
| 37 | chroma.Name: "#757575", | ||
| 38 | chroma.NameAttribute: "#5f5fff", | ||
| 39 | chroma.NameBuiltin: "#ec0000", | ||
| 40 | chroma.NameBuiltinPseudo: "#757575", | ||
| 41 | chroma.NameClass: "#5f5fff", | ||
| 42 | chroma.NameConstant: "#008900", | ||
| 43 | chroma.NameDecorator: "#008900", | ||
| 44 | chroma.NameEntity: "#757575", | ||
| 45 | chroma.NameException: "#757575", | ||
| 46 | chroma.NameFunction: "#5f5fff", | ||
| 47 | chroma.NameLabel: "#ec0000", | ||
| 48 | chroma.NameNamespace: "#757575", | ||
| 49 | chroma.NameOther: "#757575", | ||
| 50 | chroma.NameTag: "#ec0000", | ||
| 51 | chroma.NameVariable: "#ec0000", | ||
| 52 | chroma.NameVariableClass: "#ec0000", | ||
| 53 | chroma.NameVariableGlobal: "#ec0000", | ||
| 54 | chroma.NameVariableInstance: "#ec0000", | ||
| 55 | chroma.LiteralNumber: "#008900", | ||
| 56 | chroma.LiteralNumberBin: "#008900", | ||
| 57 | chroma.LiteralNumberFloat: "#008900", | ||
| 58 | chroma.LiteralNumberHex: "#008900", | ||
| 59 | chroma.LiteralNumberInteger: "#008900", | ||
| 60 | chroma.LiteralNumberIntegerLong: "#008900", | ||
| 61 | chroma.LiteralNumberOct: "#008900", | ||
| 62 | chroma.Operator: "#ec0000", | ||
| 63 | chroma.OperatorWord: "#ec0000", | ||
| 64 | chroma.Other: "#757575", | ||
| 65 | chroma.Punctuation: "#757575", | ||
| 66 | chroma.LiteralString: "#008900", | ||
| 67 | chroma.LiteralStringBacktick: "#008900", | ||
| 68 | chroma.LiteralStringChar: "#008900", | ||
| 69 | chroma.LiteralStringDoc: "#008900", | ||
| 70 | chroma.LiteralStringDouble: "#008900", | ||
| 71 | chroma.LiteralStringEscape: "#008900", | ||
| 72 | chroma.LiteralStringHeredoc: "#008900", | ||
| 73 | chroma.LiteralStringInterpol: "#008900", | ||
| 74 | chroma.LiteralStringOther: "#008900", | ||
| 75 | chroma.LiteralStringRegex: "#008900", | ||
| 76 | chroma.LiteralStringSingle: "#008900", | ||
| 77 | chroma.LiteralStringSymbol: "#008900", | ||
| 78 | chroma.Text: "#757575", | ||
| 79 | chroma.TextWhitespace: "#757575", | ||
| 80 | chroma.Background: " bg:#000000", | ||
| 81 | })) | ||
diff --git a/vendor/github.com/alecthomas/chroma/v2/styles/base16-snazzy.go b/vendor/github.com/alecthomas/chroma/v2/styles/base16-snazzy.go new file mode 100644 index 0000000..731dba8 --- /dev/null +++ b/vendor/github.com/alecthomas/chroma/v2/styles/base16-snazzy.go | |||
| @@ -0,0 +1,81 @@ | |||
| 1 | package styles | ||
| 2 | |||
| 3 | import ( | ||
| 4 | "github.com/alecthomas/chroma/v2" | ||
| 5 | ) | ||
| 6 | |||
| 7 | // Base16Snazzy style | ||
| 8 | var Base16Snazzy = Register(chroma.MustNewStyle("base16-snazzy", chroma.StyleEntries{ | ||
| 9 | chroma.Comment: "#78787e", | ||
| 10 | chroma.CommentHashbang: "#78787e", | ||
| 11 | chroma.CommentMultiline: "#78787e", | ||
| 12 | chroma.CommentPreproc: "#78787e", | ||
| 13 | chroma.CommentSingle: "#78787e", | ||
| 14 | chroma.CommentSpecial: "#78787e", | ||
| 15 | chroma.Generic: "#e2e4e5", | ||
| 16 | chroma.GenericDeleted: "#ff5c57", | ||
| 17 | chroma.GenericEmph: "#e2e4e5 underline", | ||
| 18 | chroma.GenericError: "#ff5c57", | ||
| 19 | chroma.GenericHeading: "#e2e4e5 bold", | ||
| 20 | chroma.GenericInserted: "#e2e4e5 bold", | ||
| 21 | chroma.GenericOutput: "#43454f", | ||
| 22 | chroma.GenericPrompt: "#e2e4e5", | ||
| 23 | chroma.GenericStrong: "#e2e4e5 italic", | ||
| 24 | chroma.GenericSubheading: "#e2e4e5 bold", | ||
| 25 | chroma.GenericTraceback: "#e2e4e5", | ||
| 26 | chroma.GenericUnderline: "underline", | ||
| 27 | chroma.Error: "#ff5c57", | ||
| 28 | chroma.Keyword: "#ff6ac1", | ||
| 29 | chroma.KeywordConstant: "#ff6ac1", | ||
| 30 | chroma.KeywordDeclaration: "#ff5c57", | ||
| 31 | chroma.KeywordNamespace: "#ff6ac1", | ||
| 32 | chroma.KeywordPseudo: "#ff6ac1", | ||
| 33 | chroma.KeywordReserved: "#ff6ac1", | ||
| 34 | chroma.KeywordType: "#9aedfe", | ||
| 35 | chroma.Literal: "#e2e4e5", | ||
| 36 | chroma.LiteralDate: "#e2e4e5", | ||
| 37 | chroma.Name: "#e2e4e5", | ||
| 38 | chroma.NameAttribute: "#57c7ff", | ||
| 39 | chroma.NameBuiltin: "#ff5c57", | ||
| 40 | chroma.NameBuiltinPseudo: "#e2e4e5", | ||
| 41 | chroma.NameClass: "#f3f99d", | ||
| 42 | chroma.NameConstant: "#ff9f43", | ||
| 43 | chroma.NameDecorator: "#ff9f43", | ||
| 44 | chroma.NameEntity: "#e2e4e5", | ||
| 45 | chroma.NameException: "#e2e4e5", | ||
| 46 | chroma.NameFunction: "#57c7ff", | ||
| 47 | chroma.NameLabel: "#ff5c57", | ||
| 48 | chroma.NameNamespace: "#e2e4e5", | ||
| 49 | chroma.NameOther: "#e2e4e5", | ||
| 50 | chroma.NameTag: "#ff6ac1", | ||
| 51 | chroma.NameVariable: "#ff5c57", | ||
| 52 | chroma.NameVariableClass: "#ff5c57", | ||
| 53 | chroma.NameVariableGlobal: "#ff5c57", | ||
| 54 | chroma.NameVariableInstance: "#ff5c57", | ||
| 55 | chroma.LiteralNumber: "#ff9f43", | ||
| 56 | chroma.LiteralNumberBin: "#ff9f43", | ||
| 57 | chroma.LiteralNumberFloat: "#ff9f43", | ||
| 58 | chroma.LiteralNumberHex: "#ff9f43", | ||
| 59 | chroma.LiteralNumberInteger: "#ff9f43", | ||
| 60 | chroma.LiteralNumberIntegerLong: "#ff9f43", | ||
| 61 | chroma.LiteralNumberOct: "#ff9f43", | ||
| 62 | chroma.Operator: "#ff6ac1", | ||
| 63 | chroma.OperatorWord: "#ff6ac1", | ||
| 64 | chroma.Other: "#e2e4e5", | ||
| 65 | chroma.Punctuation: "#e2e4e5", | ||
| 66 | chroma.LiteralString: "#5af78e", | ||
| 67 | chroma.LiteralStringBacktick: "#5af78e", | ||
| 68 | chroma.LiteralStringChar: "#5af78e", | ||
| 69 | chroma.LiteralStringDoc: "#5af78e", | ||
| 70 | chroma.LiteralStringDouble: "#5af78e", | ||
| 71 | chroma.LiteralStringEscape: "#5af78e", | ||
| 72 | chroma.LiteralStringHeredoc: "#5af78e", | ||
| 73 | chroma.LiteralStringInterpol: "#5af78e", | ||
| 74 | chroma.LiteralStringOther: "#5af78e", | ||
| 75 | chroma.LiteralStringRegex: "#5af78e", | ||
| 76 | chroma.LiteralStringSingle: "#5af78e", | ||
| 77 | chroma.LiteralStringSymbol: "#5af78e", | ||
| 78 | chroma.Text: "#e2e4e5", | ||
| 79 | chroma.TextWhitespace: "#e2e4e5", | ||
| 80 | chroma.Background: " bg:#282a36", | ||
| 81 | })) | ||
diff --git a/vendor/github.com/alecthomas/chroma/v2/styles/borland.go b/vendor/github.com/alecthomas/chroma/v2/styles/borland.go new file mode 100644 index 0000000..4d192b1 --- /dev/null +++ b/vendor/github.com/alecthomas/chroma/v2/styles/borland.go | |||
| @@ -0,0 +1,33 @@ | |||
| 1 | package styles | ||
| 2 | |||
| 3 | import ( | ||
| 4 | "github.com/alecthomas/chroma/v2" | ||
| 5 | ) | ||
| 6 | |||
| 7 | // Borland style. | ||
| 8 | var Borland = Register(chroma.MustNewStyle("borland", chroma.StyleEntries{ | ||
| 9 | chroma.TextWhitespace: "#bbbbbb", | ||
| 10 | chroma.Comment: "italic #008800", | ||
| 11 | chroma.CommentPreproc: "noitalic #008080", | ||
| 12 | chroma.CommentSpecial: "noitalic bold", | ||
| 13 | chroma.LiteralString: "#0000FF", | ||
| 14 | chroma.LiteralStringChar: "#800080", | ||
| 15 | chroma.LiteralNumber: "#0000FF", | ||
| 16 | chroma.Keyword: "bold #000080", | ||
| 17 | chroma.OperatorWord: "bold", | ||
| 18 | chroma.NameTag: "bold #000080", | ||
| 19 | chroma.NameAttribute: "#FF0000", | ||
| 20 | chroma.GenericHeading: "#999999", | ||
| 21 | chroma.GenericSubheading: "#aaaaaa", | ||
| 22 | chroma.GenericDeleted: "bg:#ffdddd #000000", | ||
| 23 | chroma.GenericInserted: "bg:#ddffdd #000000", | ||
| 24 | chroma.GenericError: "#aa0000", | ||
| 25 | chroma.GenericEmph: "italic", | ||
| 26 | chroma.GenericStrong: "bold", | ||
| 27 | chroma.GenericPrompt: "#555555", | ||
| 28 | chroma.GenericOutput: "#888888", | ||
| 29 | chroma.GenericTraceback: "#aa0000", | ||
| 30 | chroma.GenericUnderline: "underline", | ||
| 31 | chroma.Error: "bg:#e3d2d2 #a61717", | ||
| 32 | chroma.Background: " bg:#ffffff", | ||
| 33 | })) | ||
diff --git a/vendor/github.com/alecthomas/chroma/v2/styles/bw.go b/vendor/github.com/alecthomas/chroma/v2/styles/bw.go new file mode 100644 index 0000000..2f41f20 --- /dev/null +++ b/vendor/github.com/alecthomas/chroma/v2/styles/bw.go | |||
| @@ -0,0 +1,30 @@ | |||
| 1 | package styles | ||
| 2 | |||
| 3 | import ( | ||
| 4 | "github.com/alecthomas/chroma/v2" | ||
| 5 | ) | ||
| 6 | |||
| 7 | // BlackWhite style. | ||
| 8 | var BlackWhite = Register(chroma.MustNewStyle("bw", chroma.StyleEntries{ | ||
| 9 | chroma.Comment: "italic", | ||
| 10 | chroma.CommentPreproc: "noitalic", | ||
| 11 | chroma.Keyword: "bold", | ||
| 12 | chroma.KeywordPseudo: "nobold", | ||
| 13 | chroma.KeywordType: "nobold", | ||
| 14 | chroma.OperatorWord: "bold", | ||
| 15 | chroma.NameClass: "bold", | ||
| 16 | chroma.NameNamespace: "bold", | ||
| 17 | chroma.NameException: "bold", | ||
| 18 | chroma.NameEntity: "bold", | ||
| 19 | chroma.NameTag: "bold", | ||
| 20 | chroma.LiteralString: "italic", | ||
| 21 | chroma.LiteralStringInterpol: "bold", | ||
| 22 | chroma.LiteralStringEscape: "bold", | ||
| 23 | chroma.GenericHeading: "bold", | ||
| 24 | chroma.GenericSubheading: "bold", | ||
| 25 | chroma.GenericEmph: "italic", | ||
| 26 | chroma.GenericStrong: "bold", | ||
| 27 | chroma.GenericPrompt: "bold", | ||
| 28 | chroma.Error: "border:#FF0000", | ||
| 29 | chroma.Background: " bg:#ffffff", | ||
| 30 | })) | ||
diff --git a/vendor/github.com/alecthomas/chroma/v2/styles/colorful.go b/vendor/github.com/alecthomas/chroma/v2/styles/colorful.go new file mode 100644 index 0000000..69f0373 --- /dev/null +++ b/vendor/github.com/alecthomas/chroma/v2/styles/colorful.go | |||
| @@ -0,0 +1,59 @@ | |||
| 1 | package styles | ||
| 2 | |||
| 3 | import ( | ||
| 4 | "github.com/alecthomas/chroma/v2" | ||
| 5 | ) | ||
| 6 | |||
| 7 | // Colorful style. | ||
| 8 | var Colorful = Register(chroma.MustNewStyle("colorful", chroma.StyleEntries{ | ||
| 9 | chroma.TextWhitespace: "#bbbbbb", | ||
| 10 | chroma.Comment: "#888", | ||
| 11 | chroma.CommentPreproc: "#579", | ||
| 12 | chroma.CommentSpecial: "bold #cc0000", | ||
| 13 | chroma.Keyword: "bold #080", | ||
| 14 | chroma.KeywordPseudo: "#038", | ||
| 15 | chroma.KeywordType: "#339", | ||
| 16 | chroma.Operator: "#333", | ||
| 17 | chroma.OperatorWord: "bold #000", | ||
| 18 | chroma.NameBuiltin: "#007020", | ||
| 19 | chroma.NameFunction: "bold #06B", | ||
| 20 | chroma.NameClass: "bold #B06", | ||
| 21 | chroma.NameNamespace: "bold #0e84b5", | ||
| 22 | chroma.NameException: "bold #F00", | ||
| 23 | chroma.NameVariable: "#963", | ||
| 24 | chroma.NameVariableInstance: "#33B", | ||
| 25 | chroma.NameVariableClass: "#369", | ||
| 26 | chroma.NameVariableGlobal: "bold #d70", | ||
| 27 | chroma.NameConstant: "bold #036", | ||
| 28 | chroma.NameLabel: "bold #970", | ||
| 29 | chroma.NameEntity: "bold #800", | ||
| 30 | chroma.NameAttribute: "#00C", | ||
| 31 | chroma.NameTag: "#070", | ||
| 32 | chroma.NameDecorator: "bold #555", | ||
| 33 | chroma.LiteralString: "bg:#fff0f0", | ||
| 34 | chroma.LiteralStringChar: "#04D bg:", | ||
| 35 | chroma.LiteralStringDoc: "#D42 bg:", | ||
| 36 | chroma.LiteralStringInterpol: "bg:#eee", | ||
| 37 | chroma.LiteralStringEscape: "bold #666", | ||
| 38 | chroma.LiteralStringRegex: "bg:#fff0ff #000", | ||
| 39 | chroma.LiteralStringSymbol: "#A60 bg:", | ||
| 40 | chroma.LiteralStringOther: "#D20", | ||
| 41 | chroma.LiteralNumber: "bold #60E", | ||
| 42 | chroma.LiteralNumberInteger: "bold #00D", | ||
| 43 | chroma.LiteralNumberFloat: "bold #60E", | ||
| 44 | chroma.LiteralNumberHex: "bold #058", | ||
| 45 | chroma.LiteralNumberOct: "bold #40E", | ||
| 46 | chroma.GenericHeading: "bold #000080", | ||
| 47 | chroma.GenericSubheading: "bold #800080", | ||
| 48 | chroma.GenericDeleted: "#A00000", | ||
| 49 | chroma.GenericInserted: "#00A000", | ||
| 50 | chroma.GenericError: "#FF0000", | ||
| 51 | chroma.GenericEmph: "italic", | ||
| 52 | chroma.GenericStrong: "bold", | ||
| 53 | chroma.GenericPrompt: "bold #c65d09", | ||
| 54 | chroma.GenericOutput: "#888", | ||
| 55 | chroma.GenericTraceback: "#04D", | ||
| 56 | chroma.GenericUnderline: "underline", | ||
| 57 | chroma.Error: "#F00 bg:#FAA", | ||
| 58 | chroma.Background: " bg:#ffffff", | ||
| 59 | })) | ||
diff --git a/vendor/github.com/alecthomas/chroma/v2/styles/doom-one.go b/vendor/github.com/alecthomas/chroma/v2/styles/doom-one.go new file mode 100644 index 0000000..8bca8aa --- /dev/null +++ b/vendor/github.com/alecthomas/chroma/v2/styles/doom-one.go | |||
| @@ -0,0 +1,58 @@ | |||
| 1 | package styles | ||
| 2 | |||
| 3 | import ( | ||
| 4 | "github.com/alecthomas/chroma/v2" | ||
| 5 | ) | ||
| 6 | |||
| 7 | // Doom One style. Inspired by Atom One and Doom Emacs's Atom One theme | ||
| 8 | var DoomOne = Register(chroma.MustNewStyle("doom-one", chroma.StyleEntries{ | ||
| 9 | chroma.Text: "#b0c4de", | ||
| 10 | chroma.Error: "#b0c4de", | ||
| 11 | chroma.Comment: "italic #8a93a5", | ||
| 12 | chroma.CommentHashbang: "bold", | ||
| 13 | chroma.Keyword: "#c678dd", | ||
| 14 | chroma.KeywordType: "#ef8383", | ||
| 15 | chroma.KeywordConstant: "bold #b756ff", | ||
| 16 | chroma.Operator: "#c7bf54", | ||
| 17 | chroma.OperatorWord: "bold #b756ff", | ||
| 18 | chroma.Punctuation: "#b0c4de", | ||
| 19 | chroma.Name: "#c1abea", | ||
| 20 | chroma.NameAttribute: "#b3d23c", | ||
| 21 | chroma.NameBuiltin: "#ef8383", | ||
| 22 | chroma.NameClass: "#76a9f9", | ||
| 23 | chroma.NameConstant: "bold #b756ff", | ||
| 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: "#76a9f9", | ||
| 31 | chroma.NameTag: "#e06c75", | ||
| 32 | chroma.NameVariable: "#DCAEEA", | ||
| 33 | chroma.NameVariableGlobal: "bold #DCAEEA", | ||
| 34 | chroma.NameVariableInstance: "#e06c75", | ||
| 35 | chroma.Literal: "#98c379", | ||
| 36 | chroma.Number: "#d19a66", | ||
| 37 | chroma.String: "#98c379", | ||
| 38 | chroma.StringDoc: "#7e97c3", | ||
| 39 | chroma.StringDouble: "#63c381", | ||
| 40 | chroma.StringEscape: "bold #d26464", | ||
| 41 | chroma.StringHeredoc: "#98c379", | ||
| 42 | chroma.StringInterpol: "#98c379", | ||
| 43 | chroma.StringOther: "#70b33f", | ||
| 44 | chroma.StringRegex: "#56b6c2", | ||
| 45 | chroma.StringSingle: "#98c379", | ||
| 46 | chroma.StringSymbol: "#56b6c2", | ||
| 47 | chroma.Generic: "#b0c4de", | ||
| 48 | chroma.GenericEmph: "italic", | ||
| 49 | chroma.GenericHeading: "bold #a2cbff", | ||
| 50 | chroma.GenericInserted: "#a6e22e", | ||
| 51 | chroma.GenericOutput: "#a6e22e", | ||
| 52 | chroma.GenericUnderline: "underline", | ||
| 53 | chroma.GenericPrompt: "#a6e22e", | ||
| 54 | chroma.GenericStrong: "bold", | ||
| 55 | chroma.GenericSubheading: "#a2cbff", | ||
| 56 | chroma.GenericTraceback: "#a2cbff", | ||
| 57 | chroma.Background: "#b0c4de bg:#282c34", | ||
| 58 | })) | ||
diff --git a/vendor/github.com/alecthomas/chroma/v2/styles/doom-one2.go b/vendor/github.com/alecthomas/chroma/v2/styles/doom-one2.go new file mode 100644 index 0000000..080f6d7 --- /dev/null +++ b/vendor/github.com/alecthomas/chroma/v2/styles/doom-one2.go | |||
| @@ -0,0 +1,71 @@ | |||
| 1 | package styles | ||
| 2 | |||
| 3 | import ( | ||
| 4 | "github.com/alecthomas/chroma/v2" | ||
| 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 | })) | ||
diff --git a/vendor/github.com/alecthomas/chroma/v2/styles/dracula.go b/vendor/github.com/alecthomas/chroma/v2/styles/dracula.go new file mode 100644 index 0000000..67fdfca --- /dev/null +++ b/vendor/github.com/alecthomas/chroma/v2/styles/dracula.go | |||
| @@ -0,0 +1,81 @@ | |||
| 1 | package styles | ||
| 2 | |||
| 3 | import ( | ||
| 4 | "github.com/alecthomas/chroma/v2" | ||
| 5 | ) | ||
| 6 | |||
| 7 | // Dracula Style | ||
| 8 | var Dracula = Register(chroma.MustNewStyle("dracula", chroma.StyleEntries{ | ||
| 9 | chroma.Comment: "#6272a4", | ||
| 10 | chroma.CommentHashbang: "#6272a4", | ||
| 11 | chroma.CommentMultiline: "#6272a4", | ||
| 12 | chroma.CommentPreproc: "#ff79c6", | ||
| 13 | chroma.CommentSingle: "#6272a4", | ||
| 14 | chroma.CommentSpecial: "#6272a4", | ||
| 15 | chroma.Generic: "#f8f8f2", | ||
| 16 | chroma.GenericDeleted: "#ff5555", | ||
| 17 | chroma.GenericEmph: "#f8f8f2 underline", | ||
| 18 | chroma.GenericError: "#f8f8f2", | ||
| 19 | chroma.GenericHeading: "#f8f8f2 bold", | ||
| 20 | chroma.GenericInserted: "#50fa7b bold", | ||
| 21 | chroma.GenericOutput: "#44475a", | ||
| 22 | chroma.GenericPrompt: "#f8f8f2", | ||
| 23 | chroma.GenericStrong: "#f8f8f2", | ||
| 24 | chroma.GenericSubheading: "#f8f8f2 bold", | ||
| 25 | chroma.GenericTraceback: "#f8f8f2", | ||
| 26 | chroma.GenericUnderline: "underline", | ||
| 27 | chroma.Error: "#f8f8f2", | ||
| 28 | chroma.Keyword: "#ff79c6", | ||
| 29 | chroma.KeywordConstant: "#ff79c6", | ||
| 30 | chroma.KeywordDeclaration: "#8be9fd italic", | ||
| 31 | chroma.KeywordNamespace: "#ff79c6", | ||
| 32 | chroma.KeywordPseudo: "#ff79c6", | ||
| 33 | chroma.KeywordReserved: "#ff79c6", | ||
| 34 | chroma.KeywordType: "#8be9fd", | ||
| 35 | chroma.Literal: "#f8f8f2", | ||
| 36 | chroma.LiteralDate: "#f8f8f2", | ||
| 37 | chroma.Name: "#f8f8f2", | ||
| 38 | chroma.NameAttribute: "#50fa7b", | ||
| 39 | chroma.NameBuiltin: "#8be9fd italic", | ||
| 40 | chroma.NameBuiltinPseudo: "#f8f8f2", | ||
| 41 | chroma.NameClass: "#50fa7b", | ||
| 42 | chroma.NameConstant: "#f8f8f2", | ||
| 43 | chroma.NameDecorator: "#f8f8f2", | ||
| 44 | chroma.NameEntity: "#f8f8f2", | ||
| 45 | chroma.NameException: "#f8f8f2", | ||
| 46 | chroma.NameFunction: "#50fa7b", | ||
| 47 | chroma.NameLabel: "#8be9fd italic", | ||
| 48 | chroma.NameNamespace: "#f8f8f2", | ||
| 49 | chroma.NameOther: "#f8f8f2", | ||
| 50 | chroma.NameTag: "#ff79c6", | ||
| 51 | chroma.NameVariable: "#8be9fd italic", | ||
| 52 | chroma.NameVariableClass: "#8be9fd italic", | ||
| 53 | chroma.NameVariableGlobal: "#8be9fd italic", | ||
| 54 | chroma.NameVariableInstance: "#8be9fd italic", | ||
| 55 | chroma.LiteralNumber: "#bd93f9", | ||
| 56 | chroma.LiteralNumberBin: "#bd93f9", | ||
| 57 | chroma.LiteralNumberFloat: "#bd93f9", | ||
| 58 | chroma.LiteralNumberHex: "#bd93f9", | ||
| 59 | chroma.LiteralNumberInteger: "#bd93f9", | ||
| 60 | chroma.LiteralNumberIntegerLong: "#bd93f9", | ||
| 61 | chroma.LiteralNumberOct: "#bd93f9", | ||
| 62 | chroma.Operator: "#ff79c6", | ||
| 63 | chroma.OperatorWord: "#ff79c6", | ||
| 64 | chroma.Other: "#f8f8f2", | ||
| 65 | chroma.Punctuation: "#f8f8f2", | ||
| 66 | chroma.LiteralString: "#f1fa8c", | ||
| 67 | chroma.LiteralStringBacktick: "#f1fa8c", | ||
| 68 | chroma.LiteralStringChar: "#f1fa8c", | ||
| 69 | chroma.LiteralStringDoc: "#f1fa8c", | ||
| 70 | chroma.LiteralStringDouble: "#f1fa8c", | ||
| 71 | chroma.LiteralStringEscape: "#f1fa8c", | ||
| 72 | chroma.LiteralStringHeredoc: "#f1fa8c", | ||
| 73 | chroma.LiteralStringInterpol: "#f1fa8c", | ||
| 74 | chroma.LiteralStringOther: "#f1fa8c", | ||
| 75 | chroma.LiteralStringRegex: "#f1fa8c", | ||
| 76 | chroma.LiteralStringSingle: "#f1fa8c", | ||
| 77 | chroma.LiteralStringSymbol: "#f1fa8c", | ||
| 78 | chroma.Text: "#f8f8f2", | ||
| 79 | chroma.TextWhitespace: "#f8f8f2", | ||
| 80 | chroma.Background: " bg:#282a36", | ||
| 81 | })) | ||
diff --git a/vendor/github.com/alecthomas/chroma/v2/styles/emacs.go b/vendor/github.com/alecthomas/chroma/v2/styles/emacs.go new file mode 100644 index 0000000..461f197 --- /dev/null +++ b/vendor/github.com/alecthomas/chroma/v2/styles/emacs.go | |||
| @@ -0,0 +1,51 @@ | |||
| 1 | package styles | ||
| 2 | |||
| 3 | import ( | ||
| 4 | "github.com/alecthomas/chroma/v2" | ||
| 5 | ) | ||
| 6 | |||
| 7 | // Emacs style. | ||
| 8 | var Emacs = Register(chroma.MustNewStyle("emacs", chroma.StyleEntries{ | ||
| 9 | chroma.TextWhitespace: "#bbbbbb", | ||
| 10 | chroma.Comment: "italic #008800", | ||
| 11 | chroma.CommentPreproc: "noitalic", | ||
| 12 | chroma.CommentSpecial: "noitalic bold", | ||
| 13 | chroma.Keyword: "bold #AA22FF", | ||
| 14 | chroma.KeywordPseudo: "nobold", | ||
| 15 | chroma.KeywordType: "bold #00BB00", | ||
| 16 | chroma.Operator: "#666666", | ||
| 17 | chroma.OperatorWord: "bold #AA22FF", | ||
| 18 | chroma.NameBuiltin: "#AA22FF", | ||
| 19 | chroma.NameFunction: "#00A000", | ||
| 20 | chroma.NameClass: "#0000FF", | ||
| 21 | chroma.NameNamespace: "bold #0000FF", | ||
| 22 | chroma.NameException: "bold #D2413A", | ||
| 23 | chroma.NameVariable: "#B8860B", | ||
| 24 | chroma.NameConstant: "#880000", | ||
| 25 | chroma.NameLabel: "#A0A000", | ||
| 26 | chroma.NameEntity: "bold #999999", | ||
| 27 | chroma.NameAttribute: "#BB4444", | ||
| 28 | chroma.NameTag: "bold #008000", | ||
| 29 | chroma.NameDecorator: "#AA22FF", | ||
| 30 | chroma.LiteralString: "#BB4444", | ||
| 31 | chroma.LiteralStringDoc: "italic", | ||
| 32 | chroma.LiteralStringInterpol: "bold #BB6688", | ||
| 33 | chroma.LiteralStringEscape: "bold #BB6622", | ||
| 34 | chroma.LiteralStringRegex: "#BB6688", | ||
| 35 | chroma.LiteralStringSymbol: "#B8860B", | ||
| 36 | chroma.LiteralStringOther: "#008000", | ||
| 37 | chroma.LiteralNumber: "#666666", | ||
| 38 | chroma.GenericHeading: "bold #000080", | ||
| 39 | chroma.GenericSubheading: "bold #800080", | ||
| 40 | chroma.GenericDeleted: "#A00000", | ||
| 41 | chroma.GenericInserted: "#00A000", | ||
| 42 | chroma.GenericError: "#FF0000", | ||
| 43 | chroma.GenericEmph: "italic", | ||
| 44 | chroma.GenericStrong: "bold", | ||
| 45 | chroma.GenericPrompt: "bold #000080", | ||
| 46 | chroma.GenericOutput: "#888", | ||
| 47 | chroma.GenericTraceback: "#04D", | ||
| 48 | chroma.GenericUnderline: "underline", | ||
| 49 | chroma.Error: "border:#FF0000", | ||
| 50 | chroma.Background: " bg:#f8f8f8", | ||
| 51 | })) | ||
diff --git a/vendor/github.com/alecthomas/chroma/v2/styles/friendly.go b/vendor/github.com/alecthomas/chroma/v2/styles/friendly.go new file mode 100644 index 0000000..572d017 --- /dev/null +++ b/vendor/github.com/alecthomas/chroma/v2/styles/friendly.go | |||
| @@ -0,0 +1,51 @@ | |||
| 1 | package styles | ||
| 2 | |||
| 3 | import ( | ||
| 4 | "github.com/alecthomas/chroma/v2" | ||
| 5 | ) | ||
| 6 | |||
| 7 | // Friendly style. | ||
| 8 | var Friendly = Register(chroma.MustNewStyle("friendly", chroma.StyleEntries{ | ||
| 9 | chroma.TextWhitespace: "#bbbbbb", | ||
| 10 | chroma.Comment: "italic #60a0b0", | ||
| 11 | chroma.CommentPreproc: "noitalic #007020", | ||
| 12 | chroma.CommentSpecial: "noitalic bg:#fff0f0", | ||
| 13 | chroma.Keyword: "bold #007020", | ||
| 14 | chroma.KeywordPseudo: "nobold", | ||
| 15 | chroma.KeywordType: "nobold #902000", | ||
| 16 | chroma.Operator: "#666666", | ||
| 17 | chroma.OperatorWord: "bold #007020", | ||
| 18 | chroma.NameBuiltin: "#007020", | ||
| 19 | chroma.NameFunction: "#06287e", | ||
| 20 | chroma.NameClass: "bold #0e84b5", | ||
| 21 | chroma.NameNamespace: "bold #0e84b5", | ||
| 22 | chroma.NameException: "#007020", | ||
| 23 | chroma.NameVariable: "#bb60d5", | ||
| 24 | chroma.NameConstant: "#60add5", | ||
| 25 | chroma.NameLabel: "bold #002070", | ||
| 26 | chroma.NameEntity: "bold #d55537", | ||
| 27 | chroma.NameAttribute: "#4070a0", | ||
| 28 | chroma.NameTag: "bold #062873", | ||
| 29 | chroma.NameDecorator: "bold #555555", | ||
| 30 | chroma.LiteralString: "#4070a0", | ||
| 31 | chroma.LiteralStringDoc: "italic", | ||
| 32 | chroma.LiteralStringInterpol: "#70a0d0", | ||
| 33 | chroma.LiteralStringEscape: "bold #4070a0", | ||
| 34 | chroma.LiteralStringRegex: "#235388", | ||
| 35 | chroma.LiteralStringSymbol: "#517918", | ||
| 36 | chroma.LiteralStringOther: "#c65d09", | ||
| 37 | chroma.LiteralNumber: "#40a070", | ||
| 38 | chroma.GenericHeading: "bold #000080", | ||
| 39 | chroma.GenericSubheading: "bold #800080", | ||
| 40 | chroma.GenericDeleted: "#A00000", | ||
| 41 | chroma.GenericInserted: "#00A000", | ||
| 42 | chroma.GenericError: "#FF0000", | ||
| 43 | chroma.GenericEmph: "italic", | ||
| 44 | chroma.GenericStrong: "bold", | ||
| 45 | chroma.GenericPrompt: "bold #c65d09", | ||
| 46 | chroma.GenericOutput: "#888", | ||
| 47 | chroma.GenericTraceback: "#04D", | ||
| 48 | chroma.GenericUnderline: "underline", | ||
| 49 | chroma.Error: "border:#FF0000", | ||
| 50 | chroma.Background: " bg:#f0f0f0", | ||
| 51 | })) | ||
diff --git a/vendor/github.com/alecthomas/chroma/v2/styles/fruity.go b/vendor/github.com/alecthomas/chroma/v2/styles/fruity.go new file mode 100644 index 0000000..6ed99b7 --- /dev/null +++ b/vendor/github.com/alecthomas/chroma/v2/styles/fruity.go | |||
| @@ -0,0 +1,26 @@ | |||
| 1 | package styles | ||
| 2 | |||
| 3 | import ( | ||
| 4 | "github.com/alecthomas/chroma/v2" | ||
| 5 | ) | ||
| 6 | |||
| 7 | // Fruity style. | ||
| 8 | var Fruity = Register(chroma.MustNewStyle("fruity", chroma.StyleEntries{ | ||
| 9 | chroma.TextWhitespace: "#888888", | ||
| 10 | chroma.Background: "#ffffff bg:#111111", | ||
| 11 | chroma.GenericOutput: "#444444 bg:#222222", | ||
| 12 | chroma.Keyword: "#fb660a bold", | ||
| 13 | chroma.KeywordPseudo: "nobold", | ||
| 14 | chroma.LiteralNumber: "#0086f7 bold", | ||
| 15 | chroma.NameTag: "#fb660a bold", | ||
| 16 | chroma.NameVariable: "#fb660a", | ||
| 17 | chroma.Comment: "#008800 bg:#0f140f italic", | ||
| 18 | chroma.NameAttribute: "#ff0086 bold", | ||
| 19 | chroma.LiteralString: "#0086d2", | ||
| 20 | chroma.NameFunction: "#ff0086 bold", | ||
| 21 | chroma.GenericHeading: "#ffffff bold", | ||
| 22 | chroma.KeywordType: "#cdcaa9 bold", | ||
| 23 | chroma.GenericSubheading: "#ffffff bold", | ||
| 24 | chroma.NameConstant: "#0086d2", | ||
| 25 | chroma.CommentPreproc: "#ff0007 bold", | ||
| 26 | })) | ||
diff --git a/vendor/github.com/alecthomas/chroma/v2/styles/github.go b/vendor/github.com/alecthomas/chroma/v2/styles/github.go new file mode 100644 index 0000000..b1ef17f --- /dev/null +++ b/vendor/github.com/alecthomas/chroma/v2/styles/github.go | |||
| @@ -0,0 +1,51 @@ | |||
| 1 | package styles | ||
| 2 | |||
| 3 | import ( | ||
| 4 | "github.com/alecthomas/chroma/v2" | ||
| 5 | ) | ||
| 6 | |||
| 7 | // GitHub style. | ||
| 8 | var GitHub = Register(chroma.MustNewStyle("github", chroma.StyleEntries{ | ||
| 9 | chroma.CommentMultiline: "italic #999988", | ||
| 10 | chroma.CommentPreproc: "bold #999999", | ||
| 11 | chroma.CommentSingle: "italic #999988", | ||
| 12 | chroma.CommentSpecial: "bold italic #999999", | ||
| 13 | chroma.Comment: "italic #999988", | ||
| 14 | chroma.Error: "bg:#e3d2d2 #a61717", | ||
| 15 | chroma.GenericDeleted: "bg:#ffdddd #000000", | ||
| 16 | chroma.GenericEmph: "italic #000000", | ||
| 17 | chroma.GenericError: "#aa0000", | ||
| 18 | chroma.GenericHeading: "#999999", | ||
| 19 | chroma.GenericInserted: "bg:#ddffdd #000000", | ||
| 20 | chroma.GenericOutput: "#888888", | ||
| 21 | chroma.GenericPrompt: "#555555", | ||
| 22 | chroma.GenericStrong: "bold", | ||
| 23 | chroma.GenericSubheading: "#aaaaaa", | ||
| 24 | chroma.GenericTraceback: "#aa0000", | ||
| 25 | chroma.GenericUnderline: "underline", | ||
| 26 | chroma.KeywordType: "bold #445588", | ||
| 27 | chroma.Keyword: "bold #000000", | ||
| 28 | chroma.LiteralNumber: "#009999", | ||
| 29 | chroma.LiteralStringRegex: "#009926", | ||
| 30 | chroma.LiteralStringSymbol: "#990073", | ||
| 31 | chroma.LiteralString: "#d14", | ||
| 32 | chroma.NameAttribute: "#008080", | ||
| 33 | chroma.NameBuiltinPseudo: "#999999", | ||
| 34 | chroma.NameBuiltin: "#0086B3", | ||
| 35 | chroma.NameClass: "bold #445588", | ||
| 36 | chroma.NameConstant: "#008080", | ||
| 37 | chroma.NameDecorator: "bold #3c5d5d", | ||
| 38 | chroma.NameEntity: "#800080", | ||
| 39 | chroma.NameException: "bold #990000", | ||
| 40 | chroma.NameFunction: "bold #990000", | ||
| 41 | chroma.NameLabel: "bold #990000", | ||
| 42 | chroma.NameNamespace: "#555555", | ||
| 43 | chroma.NameTag: "#000080", | ||
| 44 | chroma.NameVariableClass: "#008080", | ||
| 45 | chroma.NameVariableGlobal: "#008080", | ||
| 46 | chroma.NameVariableInstance: "#008080", | ||
| 47 | chroma.NameVariable: "#008080", | ||
| 48 | chroma.Operator: "bold #000000", | ||
| 49 | chroma.TextWhitespace: "#bbbbbb", | ||
| 50 | chroma.Background: " bg:#ffffff", | ||
| 51 | })) | ||
diff --git a/vendor/github.com/alecthomas/chroma/v2/styles/gruvbox.go b/vendor/github.com/alecthomas/chroma/v2/styles/gruvbox.go new file mode 100644 index 0000000..44ccf9b --- /dev/null +++ b/vendor/github.com/alecthomas/chroma/v2/styles/gruvbox.go | |||
| @@ -0,0 +1,40 @@ | |||
| 1 | package styles | ||
| 2 | |||
| 3 | import ( | ||
| 4 | "github.com/alecthomas/chroma/v2" | ||
| 5 | ) | ||
| 6 | |||
| 7 | // Gruvbox style. | ||
| 8 | var Gruvbox = Register(chroma.MustNewStyle("gruvbox", chroma.StyleEntries{ | ||
| 9 | chroma.CommentPreproc: "noinherit #8ec07c", | ||
| 10 | chroma.Comment: "#928374 italic", | ||
| 11 | chroma.GenericDeleted: "noinherit #282828 bg:#fb4934", | ||
| 12 | chroma.GenericEmph: "#83a598 underline", | ||
| 13 | chroma.GenericError: "bg:#fb4934 bold", | ||
| 14 | chroma.GenericHeading: "#b8bb26 bold", | ||
| 15 | chroma.GenericInserted: "noinherit #282828 bg:#b8bb26", | ||
| 16 | chroma.GenericOutput: "noinherit #504945", | ||
| 17 | chroma.GenericPrompt: "#ebdbb2", | ||
| 18 | chroma.GenericStrong: "#ebdbb2", | ||
| 19 | chroma.GenericSubheading: "#b8bb26 bold", | ||
| 20 | chroma.GenericTraceback: "bg:#fb4934 bold", | ||
| 21 | chroma.Generic: "#ebdbb2", | ||
| 22 | chroma.KeywordType: "noinherit #fabd2f", | ||
| 23 | chroma.Keyword: "noinherit #fe8019", | ||
| 24 | chroma.NameAttribute: "#b8bb26 bold", | ||
| 25 | chroma.NameBuiltin: "#fabd2f", | ||
| 26 | chroma.NameConstant: "noinherit #d3869b", | ||
| 27 | chroma.NameEntity: "noinherit #fabd2f", | ||
| 28 | chroma.NameException: "noinherit #fb4934", | ||
| 29 | chroma.NameFunction: "#fabd2f", | ||
| 30 | chroma.NameLabel: "noinherit #fb4934", | ||
| 31 | chroma.NameTag: "noinherit #fb4934", | ||
| 32 | chroma.NameVariable: "noinherit #ebdbb2", | ||
| 33 | chroma.Name: "#ebdbb2", | ||
| 34 | chroma.LiteralNumberFloat: "noinherit #d3869b", | ||
| 35 | chroma.LiteralNumber: "noinherit #d3869b", | ||
| 36 | chroma.Operator: "#fe8019", | ||
| 37 | chroma.LiteralStringSymbol: "#83a598", | ||
| 38 | chroma.LiteralString: "noinherit #b8bb26", | ||
| 39 | chroma.Background: "noinherit #ebdbb2 bg:#282828 bg:#282828", | ||
| 40 | })) | ||
diff --git a/vendor/github.com/alecthomas/chroma/v2/styles/hr_dark.go b/vendor/github.com/alecthomas/chroma/v2/styles/hr_dark.go new file mode 100644 index 0000000..74867f6 --- /dev/null +++ b/vendor/github.com/alecthomas/chroma/v2/styles/hr_dark.go | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | package styles | ||
| 2 | |||
| 3 | import ( | ||
| 4 | "github.com/alecthomas/chroma/v2" | ||
| 5 | ) | ||
| 6 | |||
| 7 | // Theme based on HackerRank Dark Editor theme | ||
| 8 | var HrDark = Register(chroma.MustNewStyle("hrdark", chroma.StyleEntries{ | ||
| 9 | chroma.Comment: "italic #828b96", | ||
| 10 | chroma.Keyword: "#ff636f", | ||
| 11 | chroma.OperatorWord: "#ff636f", | ||
| 12 | chroma.Name: "#58a1dd", | ||
| 13 | chroma.Literal: "#a6be9d", | ||
| 14 | chroma.Operator: "#ff636f", | ||
| 15 | chroma.Background: "#1d2432", | ||
| 16 | chroma.Other: "#fff", | ||
| 17 | })) | ||
diff --git a/vendor/github.com/alecthomas/chroma/v2/styles/hr_high_contrast.go b/vendor/github.com/alecthomas/chroma/v2/styles/hr_high_contrast.go new file mode 100644 index 0000000..6bf2eb2 --- /dev/null +++ b/vendor/github.com/alecthomas/chroma/v2/styles/hr_high_contrast.go | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | package styles | ||
| 2 | |||
| 3 | import ( | ||
| 4 | "github.com/alecthomas/chroma/v2" | ||
| 5 | ) | ||
| 6 | |||
| 7 | // Theme based on HackerRank High Contrast Editor Theme | ||
| 8 | var HrHighContrast = Register(chroma.MustNewStyle("hr_high_contrast", chroma.StyleEntries{ | ||
| 9 | chroma.Comment: "#5a8349", | ||
| 10 | chroma.Keyword: "#467faf", | ||
| 11 | chroma.OperatorWord: "#467faf", | ||
| 12 | chroma.Name: "#ffffff", | ||
| 13 | chroma.LiteralString: "#a87662", | ||
| 14 | chroma.LiteralNumber: "#fff", | ||
| 15 | chroma.LiteralStringBoolean: "#467faf", | ||
| 16 | chroma.Operator: "#e4e400", | ||
| 17 | chroma.Background: "#000", | ||
| 18 | chroma.Other: "#d5d500", | ||
| 19 | })) | ||
diff --git a/vendor/github.com/alecthomas/chroma/v2/styles/igor.go b/vendor/github.com/alecthomas/chroma/v2/styles/igor.go new file mode 100644 index 0000000..fef8eee --- /dev/null +++ b/vendor/github.com/alecthomas/chroma/v2/styles/igor.go | |||
| @@ -0,0 +1,16 @@ | |||
| 1 | package styles | ||
| 2 | |||
| 3 | import ( | ||
| 4 | "github.com/alecthomas/chroma/v2" | ||
| 5 | ) | ||
| 6 | |||
| 7 | // Igor style. | ||
| 8 | var Igor = Register(chroma.MustNewStyle("igor", chroma.StyleEntries{ | ||
| 9 | chroma.Comment: "italic #FF0000", | ||
| 10 | chroma.Keyword: "#0000FF", | ||
| 11 | chroma.NameFunction: "#C34E00", | ||
| 12 | chroma.NameDecorator: "#CC00A3", | ||
| 13 | chroma.NameClass: "#007575", | ||
| 14 | chroma.LiteralString: "#009C00", | ||
| 15 | chroma.Background: " bg:#ffffff", | ||
| 16 | })) | ||
diff --git a/vendor/github.com/alecthomas/chroma/v2/styles/lovelace.go b/vendor/github.com/alecthomas/chroma/v2/styles/lovelace.go new file mode 100644 index 0000000..9099920 --- /dev/null +++ b/vendor/github.com/alecthomas/chroma/v2/styles/lovelace.go | |||
| @@ -0,0 +1,60 @@ | |||
| 1 | package styles | ||
| 2 | |||
| 3 | import ( | ||
| 4 | "github.com/alecthomas/chroma/v2" | ||
| 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 | })) | ||
diff --git a/vendor/github.com/alecthomas/chroma/v2/styles/manni.go b/vendor/github.com/alecthomas/chroma/v2/styles/manni.go new file mode 100644 index 0000000..c958176 --- /dev/null +++ b/vendor/github.com/alecthomas/chroma/v2/styles/manni.go | |||
| @@ -0,0 +1,51 @@ | |||
| 1 | package styles | ||
| 2 | |||
| 3 | import ( | ||
| 4 | "github.com/alecthomas/chroma/v2" | ||
| 5 | ) | ||
| 6 | |||
| 7 | // Manni style. | ||
| 8 | var Manni = Register(chroma.MustNewStyle("manni", chroma.StyleEntries{ | ||
| 9 | chroma.TextWhitespace: "#bbbbbb", | ||
| 10 | chroma.Comment: "italic #0099FF", | ||
| 11 | chroma.CommentPreproc: "noitalic #009999", | ||
| 12 | chroma.CommentSpecial: "bold", | ||
| 13 | chroma.Keyword: "bold #006699", | ||
| 14 | chroma.KeywordPseudo: "nobold", | ||
| 15 | chroma.KeywordType: "#007788", | ||
| 16 | chroma.Operator: "#555555", | ||
| 17 | chroma.OperatorWord: "bold #000000", | ||
| 18 | chroma.NameBuiltin: "#336666", | ||
| 19 | chroma.NameFunction: "#CC00FF", | ||
| 20 | chroma.NameClass: "bold #00AA88", | ||
| 21 | chroma.NameNamespace: "bold #00CCFF", | ||
| 22 | chroma.NameException: "bold #CC0000", | ||
| 23 | chroma.NameVariable: "#003333", | ||
| 24 | chroma.NameConstant: "#336600", | ||
| 25 | chroma.NameLabel: "#9999FF", | ||
| 26 | chroma.NameEntity: "bold #999999", | ||
| 27 | chroma.NameAttribute: "#330099", | ||
| 28 | chroma.NameTag: "bold #330099", | ||
| 29 | chroma.NameDecorator: "#9999FF", | ||
| 30 | chroma.LiteralString: "#CC3300", | ||
| 31 | chroma.LiteralStringDoc: "italic", | ||
| 32 | chroma.LiteralStringInterpol: "#AA0000", | ||
| 33 | chroma.LiteralStringEscape: "bold #CC3300", | ||
| 34 | chroma.LiteralStringRegex: "#33AAAA", | ||
| 35 | chroma.LiteralStringSymbol: "#FFCC33", | ||
| 36 | chroma.LiteralStringOther: "#CC3300", | ||
| 37 | chroma.LiteralNumber: "#FF6600", | ||
| 38 | chroma.GenericHeading: "bold #003300", | ||
| 39 | chroma.GenericSubheading: "bold #003300", | ||
| 40 | chroma.GenericDeleted: "border:#CC0000 bg:#FFCCCC", | ||
| 41 | chroma.GenericInserted: "border:#00CC00 bg:#CCFFCC", | ||
| 42 | chroma.GenericError: "#FF0000", | ||
| 43 | chroma.GenericEmph: "italic", | ||
| 44 | chroma.GenericStrong: "bold", | ||
| 45 | chroma.GenericPrompt: "bold #000099", | ||
| 46 | chroma.GenericOutput: "#AAAAAA", | ||
| 47 | chroma.GenericTraceback: "#99CC66", | ||
| 48 | chroma.GenericUnderline: "underline", | ||
| 49 | chroma.Error: "bg:#FFAAAA #AA0000", | ||
| 50 | chroma.Background: " bg:#f0f3f3", | ||
| 51 | })) | ||
diff --git a/vendor/github.com/alecthomas/chroma/v2/styles/monokai.go b/vendor/github.com/alecthomas/chroma/v2/styles/monokai.go new file mode 100644 index 0000000..85647a2 --- /dev/null +++ b/vendor/github.com/alecthomas/chroma/v2/styles/monokai.go | |||
| @@ -0,0 +1,36 @@ | |||
| 1 | package styles | ||
| 2 | |||
| 3 | import ( | ||
| 4 | "github.com/alecthomas/chroma/v2" | ||
| 5 | ) | ||
| 6 | |||
| 7 | // Monokai style. | ||
| 8 | var Monokai = Register(chroma.MustNewStyle("monokai", chroma.StyleEntries{ | ||
| 9 | chroma.Text: "#f8f8f2", | ||
| 10 | chroma.Error: "#960050 bg:#1e0010", | ||
| 11 | chroma.Comment: "#75715e", | ||
| 12 | chroma.Keyword: "#66d9ef", | ||
| 13 | chroma.KeywordNamespace: "#f92672", | ||
| 14 | chroma.Operator: "#f92672", | ||
| 15 | chroma.Punctuation: "#f8f8f2", | ||
| 16 | chroma.Name: "#f8f8f2", | ||
| 17 | chroma.NameAttribute: "#a6e22e", | ||
| 18 | chroma.NameClass: "#a6e22e", | ||
| 19 | chroma.NameConstant: "#66d9ef", | ||
| 20 | chroma.NameDecorator: "#a6e22e", | ||
| 21 | chroma.NameException: "#a6e22e", | ||
| 22 | chroma.NameFunction: "#a6e22e", | ||
| 23 | chroma.NameOther: "#a6e22e", | ||
| 24 | chroma.NameTag: "#f92672", | ||
| 25 | chroma.LiteralNumber: "#ae81ff", | ||
| 26 | chroma.Literal: "#ae81ff", | ||
| 27 | chroma.LiteralDate: "#e6db74", | ||
| 28 | chroma.LiteralString: "#e6db74", | ||
| 29 | chroma.LiteralStringEscape: "#ae81ff", | ||
| 30 | chroma.GenericDeleted: "#f92672", | ||
| 31 | chroma.GenericEmph: "italic", | ||
| 32 | chroma.GenericInserted: "#a6e22e", | ||
| 33 | chroma.GenericStrong: "bold", | ||
| 34 | chroma.GenericSubheading: "#75715e", | ||
| 35 | chroma.Background: "bg:#272822", | ||
| 36 | })) | ||
diff --git a/vendor/github.com/alecthomas/chroma/v2/styles/monokailight.go b/vendor/github.com/alecthomas/chroma/v2/styles/monokailight.go new file mode 100644 index 0000000..74af78e --- /dev/null +++ b/vendor/github.com/alecthomas/chroma/v2/styles/monokailight.go | |||
| @@ -0,0 +1,33 @@ | |||
| 1 | package styles | ||
| 2 | |||
| 3 | import ( | ||
| 4 | "github.com/alecthomas/chroma/v2" | ||
| 5 | ) | ||
| 6 | |||
| 7 | // MonokaiLight style. | ||
| 8 | var MonokaiLight = Register(chroma.MustNewStyle("monokailight", chroma.StyleEntries{ | ||
| 9 | chroma.Text: "#272822", | ||
| 10 | chroma.Error: "#960050 bg:#1e0010", | ||
| 11 | chroma.Comment: "#75715e", | ||
| 12 | chroma.Keyword: "#00a8c8", | ||
| 13 | chroma.KeywordNamespace: "#f92672", | ||
| 14 | chroma.Operator: "#f92672", | ||
| 15 | chroma.Punctuation: "#111111", | ||
| 16 | chroma.Name: "#111111", | ||
| 17 | chroma.NameAttribute: "#75af00", | ||
| 18 | chroma.NameClass: "#75af00", | ||
| 19 | chroma.NameConstant: "#00a8c8", | ||
| 20 | chroma.NameDecorator: "#75af00", | ||
| 21 | chroma.NameException: "#75af00", | ||
| 22 | chroma.NameFunction: "#75af00", | ||
| 23 | chroma.NameOther: "#75af00", | ||
| 24 | chroma.NameTag: "#f92672", | ||
| 25 | chroma.LiteralNumber: "#ae81ff", | ||
| 26 | chroma.Literal: "#ae81ff", | ||
| 27 | chroma.LiteralDate: "#d88200", | ||
| 28 | chroma.LiteralString: "#d88200", | ||
| 29 | chroma.LiteralStringEscape: "#8045FF", | ||
| 30 | chroma.GenericEmph: "italic", | ||
| 31 | chroma.GenericStrong: "bold", | ||
| 32 | chroma.Background: " bg:#fafafa", | ||
| 33 | })) | ||
diff --git a/vendor/github.com/alecthomas/chroma/v2/styles/murphy.go b/vendor/github.com/alecthomas/chroma/v2/styles/murphy.go new file mode 100644 index 0000000..d0d6ae0 --- /dev/null +++ b/vendor/github.com/alecthomas/chroma/v2/styles/murphy.go | |||
| @@ -0,0 +1,59 @@ | |||
| 1 | package styles | ||
| 2 | |||
| 3 | import ( | ||
| 4 | "github.com/alecthomas/chroma/v2" | ||
| 5 | ) | ||
| 6 | |||
| 7 | // Murphy style. | ||
| 8 | var Murphy = Register(chroma.MustNewStyle("murphy", chroma.StyleEntries{ | ||
| 9 | chroma.TextWhitespace: "#bbbbbb", | ||
| 10 | chroma.Comment: "#666 italic", | ||
| 11 | chroma.CommentPreproc: "#579 noitalic", | ||
| 12 | chroma.CommentSpecial: "#c00 bold", | ||
| 13 | chroma.Keyword: "bold #289", | ||
| 14 | chroma.KeywordPseudo: "#08f", | ||
| 15 | chroma.KeywordType: "#66f", | ||
| 16 | chroma.Operator: "#333", | ||
| 17 | chroma.OperatorWord: "bold #000", | ||
| 18 | chroma.NameBuiltin: "#072", | ||
| 19 | chroma.NameFunction: "bold #5ed", | ||
| 20 | chroma.NameClass: "bold #e9e", | ||
| 21 | chroma.NameNamespace: "bold #0e84b5", | ||
| 22 | chroma.NameException: "bold #F00", | ||
| 23 | chroma.NameVariable: "#036", | ||
| 24 | chroma.NameVariableInstance: "#aaf", | ||
| 25 | chroma.NameVariableClass: "#ccf", | ||
| 26 | chroma.NameVariableGlobal: "#f84", | ||
| 27 | chroma.NameConstant: "bold #5ed", | ||
| 28 | chroma.NameLabel: "bold #970", | ||
| 29 | chroma.NameEntity: "#800", | ||
| 30 | chroma.NameAttribute: "#007", | ||
| 31 | chroma.NameTag: "#070", | ||
| 32 | chroma.NameDecorator: "bold #555", | ||
| 33 | chroma.LiteralString: "bg:#e0e0ff", | ||
| 34 | chroma.LiteralStringChar: "#88F bg:", | ||
| 35 | chroma.LiteralStringDoc: "#D42 bg:", | ||
| 36 | chroma.LiteralStringInterpol: "bg:#eee", | ||
| 37 | chroma.LiteralStringEscape: "bold #666", | ||
| 38 | chroma.LiteralStringRegex: "bg:#e0e0ff #000", | ||
| 39 | chroma.LiteralStringSymbol: "#fc8 bg:", | ||
| 40 | chroma.LiteralStringOther: "#f88", | ||
| 41 | chroma.LiteralNumber: "bold #60E", | ||
| 42 | chroma.LiteralNumberInteger: "bold #66f", | ||
| 43 | chroma.LiteralNumberFloat: "bold #60E", | ||
| 44 | chroma.LiteralNumberHex: "bold #058", | ||
| 45 | chroma.LiteralNumberOct: "bold #40E", | ||
| 46 | chroma.GenericHeading: "bold #000080", | ||
| 47 | chroma.GenericSubheading: "bold #800080", | ||
| 48 | chroma.GenericDeleted: "#A00000", | ||
| 49 | chroma.GenericInserted: "#00A000", | ||
| 50 | chroma.GenericError: "#FF0000", | ||
| 51 | chroma.GenericEmph: "italic", | ||
| 52 | chroma.GenericStrong: "bold", | ||
| 53 | chroma.GenericPrompt: "bold #c65d09", | ||
| 54 | chroma.GenericOutput: "#888", | ||
| 55 | chroma.GenericTraceback: "#04D", | ||
| 56 | chroma.GenericUnderline: "underline", | ||
| 57 | chroma.Error: "#F00 bg:#FAA", | ||
| 58 | chroma.Background: " bg:#ffffff", | ||
| 59 | })) | ||
diff --git a/vendor/github.com/alecthomas/chroma/v2/styles/native.go b/vendor/github.com/alecthomas/chroma/v2/styles/native.go new file mode 100644 index 0000000..2c6dfdb --- /dev/null +++ b/vendor/github.com/alecthomas/chroma/v2/styles/native.go | |||
| @@ -0,0 +1,42 @@ | |||
| 1 | package styles | ||
| 2 | |||
| 3 | import ( | ||
| 4 | "github.com/alecthomas/chroma/v2" | ||
| 5 | ) | ||
| 6 | |||
| 7 | // Native style. | ||
| 8 | var Native = Register(chroma.MustNewStyle("native", chroma.StyleEntries{ | ||
| 9 | chroma.Background: "#d0d0d0 bg:#202020", | ||
| 10 | chroma.TextWhitespace: "#666666", | ||
| 11 | chroma.Comment: "italic #999999", | ||
| 12 | chroma.CommentPreproc: "noitalic bold #cd2828", | ||
| 13 | chroma.CommentSpecial: "noitalic bold #e50808 bg:#520000", | ||
| 14 | chroma.Keyword: "bold #6ab825", | ||
| 15 | chroma.KeywordPseudo: "nobold", | ||
| 16 | chroma.OperatorWord: "bold #6ab825", | ||
| 17 | chroma.LiteralString: "#ed9d13", | ||
| 18 | chroma.LiteralStringOther: "#ffa500", | ||
| 19 | chroma.LiteralNumber: "#3677a9", | ||
| 20 | chroma.NameBuiltin: "#24909d", | ||
| 21 | chroma.NameVariable: "#40ffff", | ||
| 22 | chroma.NameConstant: "#40ffff", | ||
| 23 | chroma.NameClass: "underline #447fcf", | ||
| 24 | chroma.NameFunction: "#447fcf", | ||
| 25 | chroma.NameNamespace: "underline #447fcf", | ||
| 26 | chroma.NameException: "#bbbbbb", | ||
| 27 | chroma.NameTag: "bold #6ab825", | ||
| 28 | chroma.NameAttribute: "#bbbbbb", | ||
| 29 | chroma.NameDecorator: "#ffa500", | ||
| 30 | chroma.GenericHeading: "bold #ffffff", | ||
| 31 | chroma.GenericSubheading: "underline #ffffff", | ||
| 32 | chroma.GenericDeleted: "#d22323", | ||
| 33 | chroma.GenericInserted: "#589819", | ||
| 34 | chroma.GenericError: "#d22323", | ||
| 35 | chroma.GenericEmph: "italic", | ||
| 36 | chroma.GenericStrong: "bold", | ||
| 37 | chroma.GenericPrompt: "#aaaaaa", | ||
| 38 | chroma.GenericOutput: "#cccccc", | ||
| 39 | chroma.GenericTraceback: "#d22323", | ||
| 40 | chroma.GenericUnderline: "underline", | ||
| 41 | chroma.Error: "bg:#e3d2d2 #a61717", | ||
| 42 | })) | ||
diff --git a/vendor/github.com/alecthomas/chroma/v2/styles/nord.go b/vendor/github.com/alecthomas/chroma/v2/styles/nord.go new file mode 100644 index 0000000..7763541 --- /dev/null +++ b/vendor/github.com/alecthomas/chroma/v2/styles/nord.go | |||
| @@ -0,0 +1,75 @@ | |||
| 1 | package styles | ||
| 2 | |||
| 3 | import ( | ||
| 4 | "github.com/alecthomas/chroma/v2" | ||
| 5 | ) | ||
| 6 | |||
| 7 | var ( | ||
| 8 | // colors and palettes based on https://www.nordtheme.com/docs/colors-and-palettes | ||
| 9 | nord0 = "#2e3440" | ||
| 10 | nord1 = "#3b4252" // nolint | ||
| 11 | nord2 = "#434c5e" // nolint | ||
| 12 | nord3 = "#4c566a" | ||
| 13 | nord3b = "#616e87" | ||
| 14 | |||
| 15 | nord4 = "#d8dee9" | ||
| 16 | nord5 = "#e5e9f0" // nolint | ||
| 17 | nord6 = "#eceff4" | ||
| 18 | |||
| 19 | nord7 = "#8fbcbb" | ||
| 20 | nord8 = "#88c0d0" | ||
| 21 | nord9 = "#81a1c1" | ||
| 22 | nord10 = "#5e81ac" | ||
| 23 | |||
| 24 | nord11 = "#bf616a" | ||
| 25 | nord12 = "#d08770" | ||
| 26 | nord13 = "#ebcb8b" | ||
| 27 | nord14 = "#a3be8c" | ||
| 28 | nord15 = "#b48ead" | ||
| 29 | ) | ||
| 30 | |||
| 31 | // Nord, an arctic, north-bluish color palette | ||
| 32 | var Nord = Register(chroma.MustNewStyle("nord", chroma.StyleEntries{ | ||
| 33 | chroma.TextWhitespace: nord4, | ||
| 34 | chroma.Comment: "italic " + nord3b, | ||
| 35 | chroma.CommentPreproc: nord10, | ||
| 36 | chroma.Keyword: "bold " + nord9, | ||
| 37 | chroma.KeywordPseudo: "nobold " + nord9, | ||
| 38 | chroma.KeywordType: "nobold " + nord9, | ||
| 39 | chroma.Operator: nord9, | ||
| 40 | chroma.OperatorWord: "bold " + nord9, | ||
| 41 | chroma.Name: nord4, | ||
| 42 | chroma.NameBuiltin: nord9, | ||
| 43 | chroma.NameFunction: nord8, | ||
| 44 | chroma.NameClass: nord7, | ||
| 45 | chroma.NameNamespace: nord7, | ||
| 46 | chroma.NameException: nord11, | ||
| 47 | chroma.NameVariable: nord4, | ||
| 48 | chroma.NameConstant: nord7, | ||
| 49 | chroma.NameLabel: nord7, | ||
| 50 | chroma.NameEntity: nord12, | ||
| 51 | chroma.NameAttribute: nord7, | ||
| 52 | chroma.NameTag: nord9, | ||
| 53 | chroma.NameDecorator: nord12, | ||
| 54 | chroma.Punctuation: nord6, | ||
| 55 | chroma.LiteralString: nord14, | ||
| 56 | chroma.LiteralStringDoc: nord3b, | ||
| 57 | chroma.LiteralStringInterpol: nord14, | ||
| 58 | chroma.LiteralStringEscape: nord13, | ||
| 59 | chroma.LiteralStringRegex: nord13, | ||
| 60 | chroma.LiteralStringSymbol: nord14, | ||
| 61 | chroma.LiteralStringOther: nord14, | ||
| 62 | chroma.LiteralNumber: nord15, | ||
| 63 | chroma.GenericHeading: "bold " + nord8, | ||
| 64 | chroma.GenericSubheading: "bold " + nord8, | ||
| 65 | chroma.GenericDeleted: nord11, | ||
| 66 | chroma.GenericInserted: nord14, | ||
| 67 | chroma.GenericError: nord11, | ||
| 68 | chroma.GenericEmph: "italic", | ||
| 69 | chroma.GenericStrong: "bold", | ||
| 70 | chroma.GenericPrompt: "bold " + nord3, | ||
| 71 | chroma.GenericOutput: nord4, | ||
| 72 | chroma.GenericTraceback: nord11, | ||
| 73 | chroma.Error: nord11, | ||
| 74 | chroma.Background: nord4 + " bg:" + nord0, | ||
| 75 | })) | ||
diff --git a/vendor/github.com/alecthomas/chroma/v2/styles/onesenterprise.go b/vendor/github.com/alecthomas/chroma/v2/styles/onesenterprise.go new file mode 100644 index 0000000..7273b03 --- /dev/null +++ b/vendor/github.com/alecthomas/chroma/v2/styles/onesenterprise.go | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | package styles | ||
| 2 | |||
| 3 | import ( | ||
| 4 | "github.com/alecthomas/chroma/v2" | ||
| 5 | ) | ||
| 6 | |||
| 7 | // 1S:Designer color palette | ||
| 8 | var OnesEnterprise = Register(chroma.MustNewStyle("onesenterprise", chroma.StyleEntries{ | ||
| 9 | chroma.Text: "#000000", | ||
| 10 | chroma.Comment: "#008000", | ||
| 11 | chroma.CommentPreproc: "#963200", | ||
| 12 | chroma.Operator: "#FF0000", | ||
| 13 | chroma.Keyword: "#FF0000", | ||
| 14 | chroma.Punctuation: "#FF0000", | ||
| 15 | chroma.LiteralString: "#000000", | ||
| 16 | chroma.Name: "#0000FF", | ||
| 17 | })) | ||
diff --git a/vendor/github.com/alecthomas/chroma/v2/styles/paraiso-dark.go b/vendor/github.com/alecthomas/chroma/v2/styles/paraiso-dark.go new file mode 100644 index 0000000..d0c534a --- /dev/null +++ b/vendor/github.com/alecthomas/chroma/v2/styles/paraiso-dark.go | |||
| @@ -0,0 +1,44 @@ | |||
| 1 | package styles | ||
| 2 | |||
| 3 | import ( | ||
| 4 | "github.com/alecthomas/chroma/v2" | ||
| 5 | ) | ||
| 6 | |||
| 7 | // ParaisoDark style. | ||
| 8 | var ParaisoDark = Register(chroma.MustNewStyle("paraiso-dark", chroma.StyleEntries{ | ||
| 9 | chroma.Text: "#e7e9db", | ||
| 10 | chroma.Error: "#ef6155", | ||
| 11 | chroma.Comment: "#776e71", | ||
| 12 | chroma.Keyword: "#815ba4", | ||
| 13 | chroma.KeywordNamespace: "#5bc4bf", | ||
| 14 | chroma.KeywordType: "#fec418", | ||
| 15 | chroma.Operator: "#5bc4bf", | ||
| 16 | chroma.Punctuation: "#e7e9db", | ||
| 17 | chroma.Name: "#e7e9db", | ||
| 18 | chroma.NameAttribute: "#06b6ef", | ||
| 19 | chroma.NameClass: "#fec418", | ||
| 20 | chroma.NameConstant: "#ef6155", | ||
| 21 | chroma.NameDecorator: "#5bc4bf", | ||
| 22 | chroma.NameException: "#ef6155", | ||
| 23 | chroma.NameFunction: "#06b6ef", | ||
| 24 | chroma.NameNamespace: "#fec418", | ||
| 25 | chroma.NameOther: "#06b6ef", | ||
| 26 | chroma.NameTag: "#5bc4bf", | ||
| 27 | chroma.NameVariable: "#ef6155", | ||
| 28 | chroma.LiteralNumber: "#f99b15", | ||
| 29 | chroma.Literal: "#f99b15", | ||
| 30 | chroma.LiteralDate: "#48b685", | ||
| 31 | chroma.LiteralString: "#48b685", | ||
| 32 | chroma.LiteralStringChar: "#e7e9db", | ||
| 33 | chroma.LiteralStringDoc: "#776e71", | ||
| 34 | chroma.LiteralStringEscape: "#f99b15", | ||
| 35 | chroma.LiteralStringInterpol: "#f99b15", | ||
| 36 | chroma.GenericDeleted: "#ef6155", | ||
| 37 | chroma.GenericEmph: "italic", | ||
| 38 | chroma.GenericHeading: "bold #e7e9db", | ||
| 39 | chroma.GenericInserted: "#48b685", | ||
| 40 | chroma.GenericPrompt: "bold #776e71", | ||
| 41 | chroma.GenericStrong: "bold", | ||
| 42 | chroma.GenericSubheading: "bold #5bc4bf", | ||
| 43 | chroma.Background: "bg:#2f1e2e", | ||
| 44 | })) | ||
diff --git a/vendor/github.com/alecthomas/chroma/v2/styles/paraiso-light.go b/vendor/github.com/alecthomas/chroma/v2/styles/paraiso-light.go new file mode 100644 index 0000000..4048b26 --- /dev/null +++ b/vendor/github.com/alecthomas/chroma/v2/styles/paraiso-light.go | |||
| @@ -0,0 +1,44 @@ | |||
| 1 | package styles | ||
| 2 | |||
| 3 | import ( | ||
| 4 | "github.com/alecthomas/chroma/v2" | ||
| 5 | ) | ||
| 6 | |||
| 7 | // ParaisoLight style. | ||
| 8 | var ParaisoLight = Register(chroma.MustNewStyle("paraiso-light", chroma.StyleEntries{ | ||
| 9 | chroma.Text: "#2f1e2e", | ||
| 10 | chroma.Error: "#ef6155", | ||
| 11 | chroma.Comment: "#8d8687", | ||
| 12 | chroma.Keyword: "#815ba4", | ||
| 13 | chroma.KeywordNamespace: "#5bc4bf", | ||
| 14 | chroma.KeywordType: "#fec418", | ||
| 15 | chroma.Operator: "#5bc4bf", | ||
| 16 | chroma.Punctuation: "#2f1e2e", | ||
| 17 | chroma.Name: "#2f1e2e", | ||
| 18 | chroma.NameAttribute: "#06b6ef", | ||
| 19 | chroma.NameClass: "#fec418", | ||
| 20 | chroma.NameConstant: "#ef6155", | ||
| 21 | chroma.NameDecorator: "#5bc4bf", | ||
| 22 | chroma.NameException: "#ef6155", | ||
| 23 | chroma.NameFunction: "#06b6ef", | ||
| 24 | chroma.NameNamespace: "#fec418", | ||
| 25 | chroma.NameOther: "#06b6ef", | ||
| 26 | chroma.NameTag: "#5bc4bf", | ||
| 27 | chroma.NameVariable: "#ef6155", | ||
| 28 | chroma.LiteralNumber: "#f99b15", | ||
| 29 | chroma.Literal: "#f99b15", | ||
| 30 | chroma.LiteralDate: "#48b685", | ||
| 31 | chroma.LiteralString: "#48b685", | ||
| 32 | chroma.LiteralStringChar: "#2f1e2e", | ||
| 33 | chroma.LiteralStringDoc: "#8d8687", | ||
| 34 | chroma.LiteralStringEscape: "#f99b15", | ||
| 35 | chroma.LiteralStringInterpol: "#f99b15", | ||
| 36 | chroma.GenericDeleted: "#ef6155", | ||
| 37 | chroma.GenericEmph: "italic", | ||
| 38 | chroma.GenericHeading: "bold #2f1e2e", | ||
| 39 | chroma.GenericInserted: "#48b685", | ||
| 40 | chroma.GenericPrompt: "bold #8d8687", | ||
| 41 | chroma.GenericStrong: "bold", | ||
| 42 | chroma.GenericSubheading: "bold #5bc4bf", | ||
| 43 | chroma.Background: "bg:#e7e9db", | ||
| 44 | })) | ||
diff --git a/vendor/github.com/alecthomas/chroma/v2/styles/pastie.go b/vendor/github.com/alecthomas/chroma/v2/styles/pastie.go new file mode 100644 index 0000000..8e41b50 --- /dev/null +++ b/vendor/github.com/alecthomas/chroma/v2/styles/pastie.go | |||
| @@ -0,0 +1,52 @@ | |||
| 1 | package styles | ||
| 2 | |||
| 3 | import ( | ||
| 4 | "github.com/alecthomas/chroma/v2" | ||
| 5 | ) | ||
| 6 | |||
| 7 | // Pastie style. | ||
| 8 | var Pastie = Register(chroma.MustNewStyle("pastie", chroma.StyleEntries{ | ||
| 9 | chroma.TextWhitespace: "#bbbbbb", | ||
| 10 | chroma.Comment: "#888888", | ||
| 11 | chroma.CommentPreproc: "bold #cc0000", | ||
| 12 | chroma.CommentSpecial: "bg:#fff0f0 bold #cc0000", | ||
| 13 | chroma.LiteralString: "bg:#fff0f0 #dd2200", | ||
| 14 | chroma.LiteralStringRegex: "bg:#fff0ff #008800", | ||
| 15 | chroma.LiteralStringOther: "bg:#f0fff0 #22bb22", | ||
| 16 | chroma.LiteralStringSymbol: "#aa6600", | ||
| 17 | chroma.LiteralStringInterpol: "#3333bb", | ||
| 18 | chroma.LiteralStringEscape: "#0044dd", | ||
| 19 | chroma.OperatorWord: "#008800", | ||
| 20 | chroma.Keyword: "bold #008800", | ||
| 21 | chroma.KeywordPseudo: "nobold", | ||
| 22 | chroma.KeywordType: "#888888", | ||
| 23 | chroma.NameClass: "bold #bb0066", | ||
| 24 | chroma.NameException: "bold #bb0066", | ||
| 25 | chroma.NameFunction: "bold #0066bb", | ||
| 26 | chroma.NameProperty: "bold #336699", | ||
| 27 | chroma.NameNamespace: "bold #bb0066", | ||
| 28 | chroma.NameBuiltin: "#003388", | ||
| 29 | chroma.NameVariable: "#336699", | ||
| 30 | chroma.NameVariableClass: "#336699", | ||
| 31 | chroma.NameVariableInstance: "#3333bb", | ||
| 32 | chroma.NameVariableGlobal: "#dd7700", | ||
| 33 | chroma.NameConstant: "bold #003366", | ||
| 34 | chroma.NameTag: "bold #bb0066", | ||
| 35 | chroma.NameAttribute: "#336699", | ||
| 36 | chroma.NameDecorator: "#555555", | ||
| 37 | chroma.NameLabel: "italic #336699", | ||
| 38 | chroma.LiteralNumber: "bold #0000DD", | ||
| 39 | chroma.GenericHeading: "#333", | ||
| 40 | chroma.GenericSubheading: "#666", | ||
| 41 | chroma.GenericDeleted: "bg:#ffdddd #000000", | ||
| 42 | chroma.GenericInserted: "bg:#ddffdd #000000", | ||
| 43 | chroma.GenericError: "#aa0000", | ||
| 44 | chroma.GenericEmph: "italic", | ||
| 45 | chroma.GenericStrong: "bold", | ||
| 46 | chroma.GenericPrompt: "#555555", | ||
| 47 | chroma.GenericOutput: "#888888", | ||
| 48 | chroma.GenericTraceback: "#aa0000", | ||
| 49 | chroma.GenericUnderline: "underline", | ||
| 50 | chroma.Error: "bg:#e3d2d2 #a61717", | ||
| 51 | chroma.Background: " bg:#ffffff", | ||
| 52 | })) | ||
diff --git a/vendor/github.com/alecthomas/chroma/v2/styles/perldoc.go b/vendor/github.com/alecthomas/chroma/v2/styles/perldoc.go new file mode 100644 index 0000000..813b713 --- /dev/null +++ b/vendor/github.com/alecthomas/chroma/v2/styles/perldoc.go | |||
| @@ -0,0 +1,44 @@ | |||
| 1 | package styles | ||
| 2 | |||
| 3 | import ( | ||
| 4 | "github.com/alecthomas/chroma/v2" | ||
| 5 | ) | ||
| 6 | |||
| 7 | // Perldoc style. | ||
| 8 | var Perldoc = Register(chroma.MustNewStyle("perldoc", chroma.StyleEntries{ | ||
| 9 | chroma.TextWhitespace: "#bbbbbb", | ||
| 10 | chroma.Comment: "#228B22", | ||
| 11 | chroma.CommentPreproc: "#1e889b", | ||
| 12 | chroma.CommentSpecial: "#8B008B bold", | ||
| 13 | chroma.LiteralString: "#CD5555", | ||
| 14 | chroma.LiteralStringHeredoc: "#1c7e71 italic", | ||
| 15 | chroma.LiteralStringRegex: "#1c7e71", | ||
| 16 | chroma.LiteralStringOther: "#cb6c20", | ||
| 17 | chroma.LiteralNumber: "#B452CD", | ||
| 18 | chroma.OperatorWord: "#8B008B", | ||
| 19 | chroma.Keyword: "#8B008B bold", | ||
| 20 | chroma.KeywordType: "#00688B", | ||
| 21 | chroma.NameClass: "#008b45 bold", | ||
| 22 | chroma.NameException: "#008b45 bold", | ||
| 23 | chroma.NameFunction: "#008b45", | ||
| 24 | chroma.NameNamespace: "#008b45 underline", | ||
| 25 | chroma.NameVariable: "#00688B", | ||
| 26 | chroma.NameConstant: "#00688B", | ||
| 27 | chroma.NameDecorator: "#707a7c", | ||
| 28 | chroma.NameTag: "#8B008B bold", | ||
| 29 | chroma.NameAttribute: "#658b00", | ||
| 30 | chroma.NameBuiltin: "#658b00", | ||
| 31 | chroma.GenericHeading: "bold #000080", | ||
| 32 | chroma.GenericSubheading: "bold #800080", | ||
| 33 | chroma.GenericDeleted: "#aa0000", | ||
| 34 | chroma.GenericInserted: "#00aa00", | ||
| 35 | chroma.GenericError: "#aa0000", | ||
| 36 | chroma.GenericEmph: "italic", | ||
| 37 | chroma.GenericStrong: "bold", | ||
| 38 | chroma.GenericPrompt: "#555555", | ||
| 39 | chroma.GenericOutput: "#888888", | ||
| 40 | chroma.GenericTraceback: "#aa0000", | ||
| 41 | chroma.GenericUnderline: "underline", | ||
| 42 | chroma.Error: "bg:#e3d2d2 #a61717", | ||
| 43 | chroma.Background: " bg:#eeeedd", | ||
| 44 | })) | ||
diff --git a/vendor/github.com/alecthomas/chroma/v2/styles/pygments.go b/vendor/github.com/alecthomas/chroma/v2/styles/pygments.go new file mode 100644 index 0000000..856e387 --- /dev/null +++ b/vendor/github.com/alecthomas/chroma/v2/styles/pygments.go | |||
| @@ -0,0 +1,55 @@ | |||
| 1 | package styles | ||
| 2 | |||
| 3 | import ( | ||
| 4 | "github.com/alecthomas/chroma/v2" | ||
| 5 | ) | ||
| 6 | |||
| 7 | // Pygments default theme. | ||
| 8 | var Pygments = Register(chroma.MustNewStyle("pygments", chroma.StyleEntries{ | ||
| 9 | chroma.Whitespace: "#bbbbbb", | ||
| 10 | chroma.Comment: "italic #408080", | ||
| 11 | chroma.CommentPreproc: "noitalic #BC7A00", | ||
| 12 | |||
| 13 | chroma.Keyword: "bold #008000", | ||
| 14 | chroma.KeywordPseudo: "nobold", | ||
| 15 | chroma.KeywordType: "nobold #B00040", | ||
| 16 | |||
| 17 | chroma.Operator: "#666666", | ||
| 18 | chroma.OperatorWord: "bold #AA22FF", | ||
| 19 | |||
| 20 | chroma.NameBuiltin: "#008000", | ||
| 21 | chroma.NameFunction: "#0000FF", | ||
| 22 | chroma.NameClass: "bold #0000FF", | ||
| 23 | chroma.NameNamespace: "bold #0000FF", | ||
| 24 | chroma.NameException: "bold #D2413A", | ||
| 25 | chroma.NameVariable: "#19177C", | ||
| 26 | chroma.NameConstant: "#880000", | ||
| 27 | chroma.NameLabel: "#A0A000", | ||
| 28 | chroma.NameEntity: "bold #999999", | ||
| 29 | chroma.NameAttribute: "#7D9029", | ||
| 30 | chroma.NameTag: "bold #008000", | ||
| 31 | chroma.NameDecorator: "#AA22FF", | ||
| 32 | |||
| 33 | chroma.String: "#BA2121", | ||
| 34 | chroma.StringDoc: "italic", | ||
| 35 | chroma.StringInterpol: "bold #BB6688", | ||
| 36 | chroma.StringEscape: "bold #BB6622", | ||
| 37 | chroma.StringRegex: "#BB6688", | ||
| 38 | chroma.StringSymbol: "#19177C", | ||
| 39 | chroma.StringOther: "#008000", | ||
| 40 | chroma.Number: "#666666", | ||
| 41 | |||
| 42 | chroma.GenericHeading: "bold #000080", | ||
| 43 | chroma.GenericSubheading: "bold #800080", | ||
| 44 | chroma.GenericDeleted: "#A00000", | ||
| 45 | chroma.GenericInserted: "#00A000", | ||
| 46 | chroma.GenericError: "#FF0000", | ||
| 47 | chroma.GenericEmph: "italic", | ||
| 48 | chroma.GenericStrong: "bold", | ||
| 49 | chroma.GenericPrompt: "bold #000080", | ||
| 50 | chroma.GenericOutput: "#888", | ||
| 51 | chroma.GenericTraceback: "#04D", | ||
| 52 | chroma.GenericUnderline: "underline", | ||
| 53 | |||
| 54 | chroma.Error: "border:#FF0000", | ||
| 55 | })) | ||
diff --git a/vendor/github.com/alecthomas/chroma/v2/styles/rainbow_dash.go b/vendor/github.com/alecthomas/chroma/v2/styles/rainbow_dash.go new file mode 100644 index 0000000..b681eb1 --- /dev/null +++ b/vendor/github.com/alecthomas/chroma/v2/styles/rainbow_dash.go | |||
| @@ -0,0 +1,47 @@ | |||
| 1 | package styles | ||
| 2 | |||
| 3 | import ( | ||
| 4 | "github.com/alecthomas/chroma/v2" | ||
| 5 | ) | ||
| 6 | |||
| 7 | // RainbowDash style. | ||
| 8 | var RainbowDash = Register(chroma.MustNewStyle("rainbow_dash", chroma.StyleEntries{ | ||
| 9 | chroma.Comment: "italic #0080ff", | ||
| 10 | chroma.CommentPreproc: "noitalic", | ||
| 11 | chroma.CommentSpecial: "bold", | ||
| 12 | chroma.Error: "bg:#cc0000 #ffffff", | ||
| 13 | chroma.GenericDeleted: "border:#c5060b bg:#ffcccc", | ||
| 14 | chroma.GenericEmph: "italic", | ||
| 15 | chroma.GenericError: "#ff0000", | ||
| 16 | chroma.GenericHeading: "bold #2c5dcd", | ||
| 17 | chroma.GenericInserted: "border:#00cc00 bg:#ccffcc", | ||
| 18 | chroma.GenericOutput: "#aaaaaa", | ||
| 19 | chroma.GenericPrompt: "bold #2c5dcd", | ||
| 20 | chroma.GenericStrong: "bold", | ||
| 21 | chroma.GenericSubheading: "bold #2c5dcd", | ||
| 22 | chroma.GenericTraceback: "#c5060b", | ||
| 23 | chroma.GenericUnderline: "underline", | ||
| 24 | chroma.Keyword: "bold #2c5dcd", | ||
| 25 | chroma.KeywordPseudo: "nobold", | ||
| 26 | chroma.KeywordType: "#5918bb", | ||
| 27 | chroma.NameAttribute: "italic #2c5dcd", | ||
| 28 | chroma.NameBuiltin: "bold #5918bb", | ||
| 29 | chroma.NameClass: "underline", | ||
| 30 | chroma.NameConstant: "#318495", | ||
| 31 | chroma.NameDecorator: "bold #ff8000", | ||
| 32 | chroma.NameEntity: "bold #5918bb", | ||
| 33 | chroma.NameException: "bold #5918bb", | ||
| 34 | chroma.NameFunction: "bold #ff8000", | ||
| 35 | chroma.NameTag: "bold #2c5dcd", | ||
| 36 | chroma.LiteralNumber: "bold #5918bb", | ||
| 37 | chroma.Operator: "#2c5dcd", | ||
| 38 | chroma.OperatorWord: "bold", | ||
| 39 | chroma.LiteralString: "#00cc66", | ||
| 40 | chroma.LiteralStringDoc: "italic", | ||
| 41 | chroma.LiteralStringEscape: "bold #c5060b", | ||
| 42 | chroma.LiteralStringOther: "#318495", | ||
| 43 | chroma.LiteralStringSymbol: "bold #c5060b", | ||
| 44 | chroma.Text: "#4d4d4d", | ||
| 45 | chroma.TextWhitespace: "#cbcbcb", | ||
| 46 | chroma.Background: " bg:#ffffff", | ||
| 47 | })) | ||
diff --git a/vendor/github.com/alecthomas/chroma/v2/styles/rrt.go b/vendor/github.com/alecthomas/chroma/v2/styles/rrt.go new file mode 100644 index 0000000..6eda8c4 --- /dev/null +++ b/vendor/github.com/alecthomas/chroma/v2/styles/rrt.go | |||
| @@ -0,0 +1,20 @@ | |||
| 1 | package styles | ||
| 2 | |||
| 3 | import ( | ||
| 4 | "github.com/alecthomas/chroma/v2" | ||
| 5 | ) | ||
| 6 | |||
| 7 | // Rrt style. | ||
| 8 | var Rrt = Register(chroma.MustNewStyle("rrt", chroma.StyleEntries{ | ||
| 9 | chroma.CommentPreproc: "#e5e5e5", | ||
| 10 | chroma.Comment: "#00ff00", | ||
| 11 | chroma.KeywordType: "#ee82ee", | ||
| 12 | chroma.Keyword: "#ff0000", | ||
| 13 | chroma.LiteralNumber: "#ff6600", | ||
| 14 | chroma.LiteralStringSymbol: "#ff6600", | ||
| 15 | chroma.LiteralString: "#87ceeb", | ||
| 16 | chroma.NameFunction: "#ffff00", | ||
| 17 | chroma.NameConstant: "#7fffd4", | ||
| 18 | chroma.NameVariable: "#eedd82", | ||
| 19 | chroma.Background: "#f8f8f2 bg:#000000", | ||
| 20 | })) | ||
diff --git a/vendor/github.com/alecthomas/chroma/v2/styles/solarized-dark.go b/vendor/github.com/alecthomas/chroma/v2/styles/solarized-dark.go new file mode 100644 index 0000000..91ce4d9 --- /dev/null +++ b/vendor/github.com/alecthomas/chroma/v2/styles/solarized-dark.go | |||
| @@ -0,0 +1,46 @@ | |||
| 1 | package styles | ||
| 2 | |||
| 3 | import ( | ||
| 4 | "github.com/alecthomas/chroma/v2" | ||
| 5 | ) | ||
| 6 | |||
| 7 | // SolarizedDark style. | ||
| 8 | var SolarizedDark = Register(chroma.MustNewStyle("solarized-dark", chroma.StyleEntries{ | ||
| 9 | chroma.Keyword: "#719e07", | ||
| 10 | chroma.KeywordConstant: "#CB4B16", | ||
| 11 | chroma.KeywordDeclaration: "#268BD2", | ||
| 12 | chroma.KeywordReserved: "#268BD2", | ||
| 13 | chroma.KeywordType: "#DC322F", | ||
| 14 | chroma.NameAttribute: "#93A1A1", | ||
| 15 | chroma.NameBuiltin: "#B58900", | ||
| 16 | chroma.NameBuiltinPseudo: "#268BD2", | ||
| 17 | chroma.NameClass: "#268BD2", | ||
| 18 | chroma.NameConstant: "#CB4B16", | ||
| 19 | chroma.NameDecorator: "#268BD2", | ||
| 20 | chroma.NameEntity: "#CB4B16", | ||
| 21 | chroma.NameException: "#CB4B16", | ||
| 22 | chroma.NameFunction: "#268BD2", | ||
| 23 | chroma.NameTag: "#268BD2", | ||
| 24 | chroma.NameVariable: "#268BD2", | ||
| 25 | chroma.LiteralString: "#2AA198", | ||
| 26 | chroma.LiteralStringBacktick: "#586E75", | ||
| 27 | chroma.LiteralStringChar: "#2AA198", | ||
| 28 | chroma.LiteralStringDoc: "#93A1A1", | ||
| 29 | chroma.LiteralStringEscape: "#CB4B16", | ||
| 30 | chroma.LiteralStringHeredoc: "#93A1A1", | ||
| 31 | chroma.LiteralStringRegex: "#DC322F", | ||
| 32 | chroma.LiteralNumber: "#2AA198", | ||
| 33 | chroma.Operator: "#719e07", | ||
| 34 | chroma.Comment: "#586E75", | ||
| 35 | chroma.CommentPreproc: "#719e07", | ||
| 36 | chroma.CommentSpecial: "#719e07", | ||
| 37 | chroma.GenericDeleted: "#DC322F", | ||
| 38 | chroma.GenericEmph: "italic", | ||
| 39 | chroma.GenericError: "#DC322F bold", | ||
| 40 | chroma.GenericHeading: "#CB4B16", | ||
| 41 | chroma.GenericInserted: "#719e07", | ||
| 42 | chroma.GenericStrong: "bold", | ||
| 43 | chroma.GenericSubheading: "#268BD2", | ||
| 44 | chroma.Background: "#93A1A1 bg:#002B36", | ||
| 45 | chroma.Other: "#CB4B16", | ||
| 46 | })) | ||
diff --git a/vendor/github.com/alecthomas/chroma/v2/styles/solarized-dark256.go b/vendor/github.com/alecthomas/chroma/v2/styles/solarized-dark256.go new file mode 100644 index 0000000..8e31392 --- /dev/null +++ b/vendor/github.com/alecthomas/chroma/v2/styles/solarized-dark256.go | |||
| @@ -0,0 +1,48 @@ | |||
| 1 | package styles | ||
| 2 | |||
| 3 | import ( | ||
| 4 | "github.com/alecthomas/chroma/v2" | ||
| 5 | ) | ||
| 6 | |||
| 7 | // SolarizedDark256 style. | ||
| 8 | var SolarizedDark256 = Register(chroma.MustNewStyle("solarized-dark256", chroma.StyleEntries{ | ||
| 9 | chroma.Keyword: "#5f8700", | ||
| 10 | chroma.KeywordConstant: "#d75f00", | ||
| 11 | chroma.KeywordDeclaration: "#0087ff", | ||
| 12 | chroma.KeywordNamespace: "#d75f00", | ||
| 13 | chroma.KeywordReserved: "#0087ff", | ||
| 14 | chroma.KeywordType: "#af0000", | ||
| 15 | chroma.NameAttribute: "#8a8a8a", | ||
| 16 | chroma.NameBuiltin: "#0087ff", | ||
| 17 | chroma.NameBuiltinPseudo: "#0087ff", | ||
| 18 | chroma.NameClass: "#0087ff", | ||
| 19 | chroma.NameConstant: "#d75f00", | ||
| 20 | chroma.NameDecorator: "#0087ff", | ||
| 21 | chroma.NameEntity: "#d75f00", | ||
| 22 | chroma.NameException: "#af8700", | ||
| 23 | chroma.NameFunction: "#0087ff", | ||
| 24 | chroma.NameTag: "#0087ff", | ||
| 25 | chroma.NameVariable: "#0087ff", | ||
| 26 | chroma.LiteralString: "#00afaf", | ||
| 27 | chroma.LiteralStringBacktick: "#4e4e4e", | ||
| 28 | chroma.LiteralStringChar: "#00afaf", | ||
| 29 | chroma.LiteralStringDoc: "#00afaf", | ||
| 30 | chroma.LiteralStringEscape: "#af0000", | ||
| 31 | chroma.LiteralStringHeredoc: "#00afaf", | ||
| 32 | chroma.LiteralStringRegex: "#af0000", | ||
| 33 | chroma.LiteralNumber: "#00afaf", | ||
| 34 | chroma.Operator: "#8a8a8a", | ||
| 35 | chroma.OperatorWord: "#5f8700", | ||
| 36 | chroma.Comment: "#4e4e4e", | ||
| 37 | chroma.CommentPreproc: "#5f8700", | ||
| 38 | chroma.CommentSpecial: "#5f8700", | ||
| 39 | chroma.GenericDeleted: "#af0000", | ||
| 40 | chroma.GenericEmph: "italic", | ||
| 41 | chroma.GenericError: "#af0000 bold", | ||
| 42 | chroma.GenericHeading: "#d75f00", | ||
| 43 | chroma.GenericInserted: "#5f8700", | ||
| 44 | chroma.GenericStrong: "bold", | ||
| 45 | chroma.GenericSubheading: "#0087ff", | ||
| 46 | chroma.Background: "#8a8a8a bg:#1c1c1c", | ||
| 47 | chroma.Other: "#d75f00", | ||
| 48 | })) | ||
diff --git a/vendor/github.com/alecthomas/chroma/v2/styles/solarized-light.go b/vendor/github.com/alecthomas/chroma/v2/styles/solarized-light.go new file mode 100644 index 0000000..517fd02 --- /dev/null +++ b/vendor/github.com/alecthomas/chroma/v2/styles/solarized-light.go | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | package styles | ||
| 2 | |||
| 3 | import ( | ||
| 4 | "github.com/alecthomas/chroma/v2" | ||
| 5 | ) | ||
| 6 | |||
| 7 | // SolarizedLight style. | ||
| 8 | var SolarizedLight = Register(chroma.MustNewStyle("solarized-light", chroma.StyleEntries{ | ||
| 9 | chroma.Text: "bg: #eee8d5 #586e75", | ||
| 10 | chroma.Keyword: "#859900", | ||
| 11 | chroma.KeywordConstant: "bold", | ||
| 12 | chroma.KeywordNamespace: "#dc322f bold", | ||
| 13 | chroma.KeywordType: "bold", | ||
| 14 | chroma.Name: "#268bd2", | ||
| 15 | chroma.NameBuiltin: "#cb4b16", | ||
| 16 | chroma.NameClass: "#cb4b16", | ||
| 17 | chroma.NameTag: "bold", | ||
| 18 | chroma.Literal: "#2aa198", | ||
| 19 | chroma.LiteralNumber: "bold", | ||
| 20 | chroma.OperatorWord: "#859900", | ||
| 21 | chroma.Comment: "#93a1a1 italic", | ||
| 22 | chroma.Generic: "#d33682", | ||
| 23 | chroma.Background: " bg:#eee8d5", | ||
| 24 | })) | ||
diff --git a/vendor/github.com/alecthomas/chroma/v2/styles/swapoff.go b/vendor/github.com/alecthomas/chroma/v2/styles/swapoff.go new file mode 100644 index 0000000..0cf7135 --- /dev/null +++ b/vendor/github.com/alecthomas/chroma/v2/styles/swapoff.go | |||
| @@ -0,0 +1,25 @@ | |||
| 1 | package styles | ||
| 2 | |||
| 3 | import ( | ||
| 4 | "github.com/alecthomas/chroma/v2" | ||
| 5 | ) | ||
| 6 | |||
| 7 | // SwapOff theme. | ||
| 8 | var SwapOff = Register(chroma.MustNewStyle("swapoff", chroma.StyleEntries{ | ||
| 9 | chroma.Background: "#lightgray bg:#black", | ||
| 10 | chroma.Number: "bold #ansiyellow", | ||
| 11 | chroma.Comment: "#ansiteal", | ||
| 12 | chroma.CommentPreproc: "bold #ansigreen", | ||
| 13 | chroma.String: "bold #ansiturquoise", | ||
| 14 | chroma.Keyword: "bold #ansiwhite", | ||
| 15 | chroma.NameKeyword: "bold #ansiwhite", | ||
| 16 | chroma.NameBuiltin: "bold #ansiwhite", | ||
| 17 | chroma.GenericHeading: "bold", | ||
| 18 | chroma.GenericSubheading: "bold", | ||
| 19 | chroma.GenericStrong: "bold", | ||
| 20 | chroma.GenericUnderline: "underline", | ||
| 21 | chroma.NameTag: "bold", | ||
| 22 | chroma.NameAttribute: "#ansiteal", | ||
| 23 | chroma.Error: "#ansired", | ||
| 24 | chroma.LiteralDate: "bold #ansiyellow", | ||
| 25 | })) | ||
diff --git a/vendor/github.com/alecthomas/chroma/v2/styles/tango.go b/vendor/github.com/alecthomas/chroma/v2/styles/tango.go new file mode 100644 index 0000000..5608752 --- /dev/null +++ b/vendor/github.com/alecthomas/chroma/v2/styles/tango.go | |||
| @@ -0,0 +1,79 @@ | |||
| 1 | package styles | ||
| 2 | |||
| 3 | import ( | ||
| 4 | "github.com/alecthomas/chroma/v2" | ||
| 5 | ) | ||
| 6 | |||
| 7 | // Tango style. | ||
| 8 | var Tango = Register(chroma.MustNewStyle("tango", chroma.StyleEntries{ | ||
| 9 | chroma.TextWhitespace: "underline #f8f8f8", | ||
| 10 | chroma.Error: "#a40000 border:#ef2929", | ||
| 11 | chroma.Other: "#000000", | ||
| 12 | chroma.Comment: "italic #8f5902", | ||
| 13 | chroma.CommentMultiline: "italic #8f5902", | ||
| 14 | chroma.CommentPreproc: "italic #8f5902", | ||
| 15 | chroma.CommentSingle: "italic #8f5902", | ||
| 16 | chroma.CommentSpecial: "italic #8f5902", | ||
| 17 | chroma.Keyword: "bold #204a87", | ||
| 18 | chroma.KeywordConstant: "bold #204a87", | ||
| 19 | chroma.KeywordDeclaration: "bold #204a87", | ||
| 20 | chroma.KeywordNamespace: "bold #204a87", | ||
| 21 | chroma.KeywordPseudo: "bold #204a87", | ||
| 22 | chroma.KeywordReserved: "bold #204a87", | ||
| 23 | chroma.KeywordType: "bold #204a87", | ||
| 24 | chroma.Operator: "bold #ce5c00", | ||
| 25 | chroma.OperatorWord: "bold #204a87", | ||
| 26 | chroma.Punctuation: "bold #000000", | ||
| 27 | chroma.Name: "#000000", | ||
| 28 | chroma.NameAttribute: "#c4a000", | ||
| 29 | chroma.NameBuiltin: "#204a87", | ||
| 30 | chroma.NameBuiltinPseudo: "#3465a4", | ||
| 31 | chroma.NameClass: "#000000", | ||
| 32 | chroma.NameConstant: "#000000", | ||
| 33 | chroma.NameDecorator: "bold #5c35cc", | ||
| 34 | chroma.NameEntity: "#ce5c00", | ||
| 35 | chroma.NameException: "bold #cc0000", | ||
| 36 | chroma.NameFunction: "#000000", | ||
| 37 | chroma.NameProperty: "#000000", | ||
| 38 | chroma.NameLabel: "#f57900", | ||
| 39 | chroma.NameNamespace: "#000000", | ||
| 40 | chroma.NameOther: "#000000", | ||
| 41 | chroma.NameTag: "bold #204a87", | ||
| 42 | chroma.NameVariable: "#000000", | ||
| 43 | chroma.NameVariableClass: "#000000", | ||
| 44 | chroma.NameVariableGlobal: "#000000", | ||
| 45 | chroma.NameVariableInstance: "#000000", | ||
| 46 | chroma.LiteralNumber: "bold #0000cf", | ||
| 47 | chroma.LiteralNumberFloat: "bold #0000cf", | ||
| 48 | chroma.LiteralNumberHex: "bold #0000cf", | ||
| 49 | chroma.LiteralNumberInteger: "bold #0000cf", | ||
| 50 | chroma.LiteralNumberIntegerLong: "bold #0000cf", | ||
| 51 | chroma.LiteralNumberOct: "bold #0000cf", | ||
| 52 | chroma.Literal: "#000000", | ||
| 53 | chroma.LiteralDate: "#000000", | ||
| 54 | chroma.LiteralString: "#4e9a06", | ||
| 55 | chroma.LiteralStringBacktick: "#4e9a06", | ||
| 56 | chroma.LiteralStringChar: "#4e9a06", | ||
| 57 | chroma.LiteralStringDoc: "italic #8f5902", | ||
| 58 | chroma.LiteralStringDouble: "#4e9a06", | ||
| 59 | chroma.LiteralStringEscape: "#4e9a06", | ||
| 60 | chroma.LiteralStringHeredoc: "#4e9a06", | ||
| 61 | chroma.LiteralStringInterpol: "#4e9a06", | ||
| 62 | chroma.LiteralStringOther: "#4e9a06", | ||
| 63 | chroma.LiteralStringRegex: "#4e9a06", | ||
| 64 | chroma.LiteralStringSingle: "#4e9a06", | ||
| 65 | chroma.LiteralStringSymbol: "#4e9a06", | ||
| 66 | chroma.Generic: "#000000", | ||
| 67 | chroma.GenericDeleted: "#a40000", | ||
| 68 | chroma.GenericEmph: "italic #000000", | ||
| 69 | chroma.GenericError: "#ef2929", | ||
| 70 | chroma.GenericHeading: "bold #000080", | ||
| 71 | chroma.GenericInserted: "#00A000", | ||
| 72 | chroma.GenericOutput: "italic #000000", | ||
| 73 | chroma.GenericPrompt: "#8f5902", | ||
| 74 | chroma.GenericStrong: "bold #000000", | ||
| 75 | chroma.GenericSubheading: "bold #800080", | ||
| 76 | chroma.GenericTraceback: "bold #a40000", | ||
| 77 | chroma.GenericUnderline: "underline", | ||
| 78 | chroma.Background: " bg:#f8f8f8", | ||
| 79 | })) | ||
diff --git a/vendor/github.com/alecthomas/chroma/v2/styles/trac.go b/vendor/github.com/alecthomas/chroma/v2/styles/trac.go new file mode 100644 index 0000000..c149cd2 --- /dev/null +++ b/vendor/github.com/alecthomas/chroma/v2/styles/trac.go | |||
| @@ -0,0 +1,42 @@ | |||
| 1 | package styles | ||
| 2 | |||
| 3 | import ( | ||
| 4 | "github.com/alecthomas/chroma/v2" | ||
| 5 | ) | ||
| 6 | |||
| 7 | // Trac style. | ||
| 8 | var Trac = Register(chroma.MustNewStyle("trac", chroma.StyleEntries{ | ||
| 9 | chroma.TextWhitespace: "#bbbbbb", | ||
| 10 | chroma.Comment: "italic #999988", | ||
| 11 | chroma.CommentPreproc: "bold noitalic #999999", | ||
| 12 | chroma.CommentSpecial: "bold #999999", | ||
| 13 | chroma.Operator: "bold", | ||
| 14 | chroma.LiteralString: "#bb8844", | ||
| 15 | chroma.LiteralStringRegex: "#808000", | ||
| 16 | chroma.LiteralNumber: "#009999", | ||
| 17 | chroma.Keyword: "bold", | ||
| 18 | chroma.KeywordType: "#445588", | ||
| 19 | chroma.NameBuiltin: "#999999", | ||
| 20 | chroma.NameFunction: "bold #990000", | ||
| 21 | chroma.NameClass: "bold #445588", | ||
| 22 | chroma.NameException: "bold #990000", | ||
| 23 | chroma.NameNamespace: "#555555", | ||
| 24 | chroma.NameVariable: "#008080", | ||
| 25 | chroma.NameConstant: "#008080", | ||
| 26 | chroma.NameTag: "#000080", | ||
| 27 | chroma.NameAttribute: "#008080", | ||
| 28 | chroma.NameEntity: "#800080", | ||
| 29 | chroma.GenericHeading: "#999999", | ||
| 30 | chroma.GenericSubheading: "#aaaaaa", | ||
| 31 | chroma.GenericDeleted: "bg:#ffdddd #000000", | ||
| 32 | chroma.GenericInserted: "bg:#ddffdd #000000", | ||
| 33 | chroma.GenericError: "#aa0000", | ||
| 34 | chroma.GenericEmph: "italic", | ||
| 35 | chroma.GenericStrong: "bold", | ||
| 36 | chroma.GenericPrompt: "#555555", | ||
| 37 | chroma.GenericOutput: "#888888", | ||
| 38 | chroma.GenericTraceback: "#aa0000", | ||
| 39 | chroma.GenericUnderline: "underline", | ||
| 40 | chroma.Error: "bg:#e3d2d2 #a61717", | ||
| 41 | chroma.Background: " bg:#ffffff", | ||
| 42 | })) | ||
diff --git a/vendor/github.com/alecthomas/chroma/v2/styles/vim.go b/vendor/github.com/alecthomas/chroma/v2/styles/vim.go new file mode 100644 index 0000000..caa2e09 --- /dev/null +++ b/vendor/github.com/alecthomas/chroma/v2/styles/vim.go | |||
| @@ -0,0 +1,36 @@ | |||
| 1 | package styles | ||
| 2 | |||
| 3 | import ( | ||
| 4 | "github.com/alecthomas/chroma/v2" | ||
| 5 | ) | ||
| 6 | |||
| 7 | // Vim style. | ||
| 8 | var Vim = Register(chroma.MustNewStyle("vim", chroma.StyleEntries{ | ||
| 9 | chroma.Background: "#cccccc bg:#000000", | ||
| 10 | chroma.Comment: "#000080", | ||
| 11 | chroma.CommentSpecial: "bold #cd0000", | ||
| 12 | chroma.Keyword: "#cdcd00", | ||
| 13 | chroma.KeywordDeclaration: "#00cd00", | ||
| 14 | chroma.KeywordNamespace: "#cd00cd", | ||
| 15 | chroma.KeywordType: "#00cd00", | ||
| 16 | chroma.Operator: "#3399cc", | ||
| 17 | chroma.OperatorWord: "#cdcd00", | ||
| 18 | chroma.NameClass: "#00cdcd", | ||
| 19 | chroma.NameBuiltin: "#cd00cd", | ||
| 20 | chroma.NameException: "bold #666699", | ||
| 21 | chroma.NameVariable: "#00cdcd", | ||
| 22 | chroma.LiteralString: "#cd0000", | ||
| 23 | chroma.LiteralNumber: "#cd00cd", | ||
| 24 | chroma.GenericHeading: "bold #000080", | ||
| 25 | chroma.GenericSubheading: "bold #800080", | ||
| 26 | chroma.GenericDeleted: "#cd0000", | ||
| 27 | chroma.GenericInserted: "#00cd00", | ||
| 28 | chroma.GenericError: "#FF0000", | ||
| 29 | chroma.GenericEmph: "italic", | ||
| 30 | chroma.GenericStrong: "bold", | ||
| 31 | chroma.GenericPrompt: "bold #000080", | ||
| 32 | chroma.GenericOutput: "#888", | ||
| 33 | chroma.GenericTraceback: "#04D", | ||
| 34 | chroma.GenericUnderline: "underline", | ||
| 35 | chroma.Error: "border:#FF0000", | ||
| 36 | })) | ||
diff --git a/vendor/github.com/alecthomas/chroma/v2/styles/vs.go b/vendor/github.com/alecthomas/chroma/v2/styles/vs.go new file mode 100644 index 0000000..c601a31 --- /dev/null +++ b/vendor/github.com/alecthomas/chroma/v2/styles/vs.go | |||
| @@ -0,0 +1,23 @@ | |||
| 1 | package styles | ||
| 2 | |||
| 3 | import ( | ||
| 4 | "github.com/alecthomas/chroma/v2" | ||
| 5 | ) | ||
| 6 | |||
| 7 | // VisualStudio style. | ||
| 8 | var VisualStudio = Register(chroma.MustNewStyle("vs", chroma.StyleEntries{ | ||
| 9 | chroma.Comment: "#008000", | ||
| 10 | chroma.CommentPreproc: "#0000ff", | ||
| 11 | chroma.Keyword: "#0000ff", | ||
| 12 | chroma.OperatorWord: "#0000ff", | ||
| 13 | chroma.KeywordType: "#2b91af", | ||
| 14 | chroma.NameClass: "#2b91af", | ||
| 15 | chroma.LiteralString: "#a31515", | ||
| 16 | chroma.GenericHeading: "bold", | ||
| 17 | chroma.GenericSubheading: "bold", | ||
| 18 | chroma.GenericEmph: "italic", | ||
| 19 | chroma.GenericStrong: "bold", | ||
| 20 | chroma.GenericPrompt: "bold", | ||
| 21 | chroma.Error: "border:#FF0000", | ||
| 22 | chroma.Background: " bg:#ffffff", | ||
| 23 | })) | ||
diff --git a/vendor/github.com/alecthomas/chroma/v2/styles/vulcan.go b/vendor/github.com/alecthomas/chroma/v2/styles/vulcan.go new file mode 100644 index 0000000..4060422 --- /dev/null +++ b/vendor/github.com/alecthomas/chroma/v2/styles/vulcan.go | |||
| @@ -0,0 +1,95 @@ | |||
| 1 | package styles | ||
| 2 | |||
| 3 | import ( | ||
| 4 | "github.com/alecthomas/chroma/v2" | ||
| 5 | ) | ||
| 6 | |||
| 7 | var ( | ||
| 8 | // inspired by Doom Emacs's One Doom Theme | ||
| 9 | black = "#282C34" | ||
| 10 | grey = "#3E4460" | ||
| 11 | grey2 = "#43454f" | ||
| 12 | white = "#C9C9C9" | ||
| 13 | red = "#CF5967" | ||
| 14 | yellow = "#ECBE7B" | ||
| 15 | green = "#82CC6A" | ||
| 16 | cyan = "#56B6C2" | ||
| 17 | blue = "#7FBAF5" | ||
| 18 | blue2 = "#57C7FF" | ||
| 19 | purple = "#BC74C4" | ||
| 20 | ) | ||
| 21 | |||
| 22 | var Vulcan = Register(chroma.MustNewStyle("vulcan", chroma.StyleEntries{ | ||
| 23 | chroma.Comment: grey, | ||
| 24 | chroma.CommentHashbang: grey + " italic", | ||
| 25 | chroma.CommentMultiline: grey, | ||
| 26 | chroma.CommentPreproc: blue, | ||
| 27 | chroma.CommentSingle: grey, | ||
| 28 | chroma.CommentSpecial: purple + " italic", | ||
| 29 | chroma.Generic: white, | ||
| 30 | chroma.GenericDeleted: red, | ||
| 31 | chroma.GenericEmph: white + " underline", | ||
| 32 | chroma.GenericError: red + " bold", | ||
| 33 | chroma.GenericHeading: yellow + " bold", | ||
| 34 | chroma.GenericInserted: yellow, | ||
| 35 | chroma.GenericOutput: grey2, | ||
| 36 | chroma.GenericPrompt: white, | ||
| 37 | chroma.GenericStrong: red + " bold", | ||
| 38 | chroma.GenericSubheading: red + " italic", | ||
| 39 | chroma.GenericTraceback: white, | ||
| 40 | chroma.GenericUnderline: "underline", | ||
| 41 | chroma.Error: red, | ||
| 42 | chroma.Keyword: blue, | ||
| 43 | chroma.KeywordConstant: red + " bg:" + grey2, | ||
| 44 | chroma.KeywordDeclaration: blue, | ||
| 45 | chroma.KeywordNamespace: purple, | ||
| 46 | chroma.KeywordPseudo: purple, | ||
| 47 | chroma.KeywordReserved: blue, | ||
| 48 | chroma.KeywordType: blue2 + " bold", | ||
| 49 | chroma.Literal: white, | ||
| 50 | chroma.LiteralDate: blue2, | ||
| 51 | chroma.Name: white, | ||
| 52 | chroma.NameAttribute: purple, | ||
| 53 | chroma.NameBuiltin: blue, | ||
| 54 | chroma.NameBuiltinPseudo: blue, | ||
| 55 | chroma.NameClass: yellow, | ||
| 56 | chroma.NameConstant: yellow, | ||
| 57 | chroma.NameDecorator: yellow, | ||
| 58 | chroma.NameEntity: white, | ||
| 59 | chroma.NameException: red, | ||
| 60 | chroma.NameFunction: blue2, | ||
| 61 | chroma.NameLabel: red, | ||
| 62 | chroma.NameNamespace: white, | ||
| 63 | chroma.NameOther: white, | ||
| 64 | chroma.NameTag: purple, | ||
| 65 | chroma.NameVariable: purple + " italic", | ||
| 66 | chroma.NameVariableClass: blue2 + " bold", | ||
| 67 | chroma.NameVariableGlobal: yellow, | ||
| 68 | chroma.NameVariableInstance: blue2, | ||
| 69 | chroma.LiteralNumber: cyan, | ||
| 70 | chroma.LiteralNumberBin: blue2, | ||
| 71 | chroma.LiteralNumberFloat: cyan, | ||
| 72 | chroma.LiteralNumberHex: blue2, | ||
| 73 | chroma.LiteralNumberInteger: cyan, | ||
| 74 | chroma.LiteralNumberIntegerLong: cyan, | ||
| 75 | chroma.LiteralNumberOct: blue2, | ||
| 76 | chroma.Operator: purple, | ||
| 77 | chroma.OperatorWord: purple, | ||
| 78 | chroma.Other: white, | ||
| 79 | chroma.Punctuation: cyan, | ||
| 80 | chroma.LiteralString: green, | ||
| 81 | chroma.LiteralStringBacktick: blue2, | ||
| 82 | chroma.LiteralStringChar: blue2, | ||
| 83 | chroma.LiteralStringDoc: green, | ||
| 84 | chroma.LiteralStringDouble: green, | ||
| 85 | chroma.LiteralStringEscape: cyan, | ||
| 86 | chroma.LiteralStringHeredoc: cyan, | ||
| 87 | chroma.LiteralStringInterpol: green, | ||
| 88 | chroma.LiteralStringOther: green, | ||
| 89 | chroma.LiteralStringRegex: blue2, | ||
| 90 | chroma.LiteralStringSingle: green, | ||
| 91 | chroma.LiteralStringSymbol: green, | ||
| 92 | chroma.Text: white, | ||
| 93 | chroma.TextWhitespace: white, | ||
| 94 | chroma.Background: " bg: " + black, | ||
| 95 | })) | ||
diff --git a/vendor/github.com/alecthomas/chroma/v2/styles/witchhazel.go b/vendor/github.com/alecthomas/chroma/v2/styles/witchhazel.go new file mode 100644 index 0000000..201e697 --- /dev/null +++ b/vendor/github.com/alecthomas/chroma/v2/styles/witchhazel.go | |||
| @@ -0,0 +1,52 @@ | |||
| 1 | // Copyright 2018 Alethea Katherine Flowers | ||
| 2 | // | ||
| 3 | // Licensed under the Apache License, Version 2.0 (the "License"); | ||
| 4 | // you may not use this file except in compliance with the License. | ||
| 5 | // You may obtain a copy of the License at | ||
| 6 | // | ||
| 7 | // http://www.apache.org/licenses/LICENSE-2.0 | ||
| 8 | // | ||
| 9 | // Unless required by applicable law or agreed to in writing, software | ||
| 10 | // distributed under the License is distributed on an "AS IS" BASIS, | ||
| 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| 12 | // See the License for the specific language governing permissions and | ||
| 13 | // limitations under the License. | ||
| 14 | |||
| 15 | package styles | ||
| 16 | |||
| 17 | import ( | ||
| 18 | "github.com/alecthomas/chroma/v2" | ||
| 19 | ) | ||
| 20 | |||
| 21 | // WitchHazel Style | ||
| 22 | var WitchHazel = Register(chroma.MustNewStyle("witchhazel", chroma.StyleEntries{ | ||
| 23 | chroma.Text: "#F8F8F2", | ||
| 24 | chroma.Whitespace: "#A8757B", | ||
| 25 | chroma.Error: "#960050 bg:#1e0010", | ||
| 26 | chroma.Comment: "#b0bec5", | ||
| 27 | chroma.Keyword: "#C2FFDF", | ||
| 28 | chroma.KeywordNamespace: "#FFB8D1", | ||
| 29 | chroma.Operator: "#FFB8D1", | ||
| 30 | chroma.Punctuation: "#F8F8F2", | ||
| 31 | chroma.Name: "#F8F8F2", | ||
| 32 | chroma.NameAttribute: "#ceb1ff", | ||
| 33 | chroma.NameBuiltinPseudo: "#80cbc4", | ||
| 34 | chroma.NameClass: "#ceb1ff", | ||
| 35 | chroma.NameConstant: "#C5A3FF", | ||
| 36 | chroma.NameDecorator: "#ceb1ff", | ||
| 37 | chroma.NameException: "#ceb1ff", | ||
| 38 | chroma.NameFunction: "#ceb1ff", | ||
| 39 | chroma.NameProperty: "#F8F8F2", | ||
| 40 | chroma.NameTag: "#FFB8D1", | ||
| 41 | chroma.NameVariable: "#F8F8F2", | ||
| 42 | chroma.Number: "#C5A3FF", | ||
| 43 | chroma.Literal: "#ae81ff", | ||
| 44 | chroma.LiteralDate: "#e6db74", | ||
| 45 | chroma.String: "#1bc5e0", | ||
| 46 | chroma.GenericDeleted: "#f92672", | ||
| 47 | chroma.GenericEmph: "italic", | ||
| 48 | chroma.GenericInserted: "#a6e22e", | ||
| 49 | chroma.GenericStrong: "bold", | ||
| 50 | chroma.GenericSubheading: "#75715e", | ||
| 51 | chroma.Background: " bg:#433e56", | ||
| 52 | })) | ||
diff --git a/vendor/github.com/alecthomas/chroma/v2/styles/xcode-dark.go b/vendor/github.com/alecthomas/chroma/v2/styles/xcode-dark.go new file mode 100644 index 0000000..80a2a83 --- /dev/null +++ b/vendor/github.com/alecthomas/chroma/v2/styles/xcode-dark.go | |||
| @@ -0,0 +1,62 @@ | |||
| 1 | package styles | ||
| 2 | |||
| 3 | import ( | ||
| 4 | "github.com/alecthomas/chroma/v2" | ||
| 5 | ) | ||
| 6 | |||
| 7 | var ( | ||
| 8 | // Inspired by Apple's Xcode "Default (Dark)" Theme | ||
| 9 | background = "#1F1F24" | ||
| 10 | plainText = "#FFFFFF" | ||
| 11 | comments = "#6C7986" | ||
| 12 | strings = "#FC6A5D" | ||
| 13 | numbers = "#D0BF69" | ||
| 14 | keywords = "#FC5FA3" | ||
| 15 | preprocessorStatements = "#FD8F3F" | ||
| 16 | typeDeclarations = "#5DD8FF" | ||
| 17 | otherDeclarations = "#41A1C0" | ||
| 18 | otherFunctionAndMethodNames = "#A167E6" | ||
| 19 | otherTypeNames = "#D0A8FF" | ||
| 20 | ) | ||
| 21 | |||
| 22 | // Xcode dark style | ||
| 23 | var XcodeDark = Register(chroma.MustNewStyle("xcode-dark", chroma.StyleEntries{ | ||
| 24 | chroma.Background: plainText + " bg:" + background, | ||
| 25 | |||
| 26 | chroma.Comment: comments, | ||
| 27 | chroma.CommentMultiline: comments, | ||
| 28 | chroma.CommentPreproc: preprocessorStatements, | ||
| 29 | chroma.CommentSingle: comments, | ||
| 30 | chroma.CommentSpecial: comments + " italic", | ||
| 31 | |||
| 32 | chroma.Error: "#960050", | ||
| 33 | |||
| 34 | chroma.Keyword: keywords, | ||
| 35 | chroma.KeywordConstant: keywords, | ||
| 36 | chroma.KeywordDeclaration: keywords, | ||
| 37 | chroma.KeywordReserved: keywords, | ||
| 38 | |||
| 39 | chroma.LiteralNumber: numbers, | ||
| 40 | chroma.LiteralNumberBin: numbers, | ||
| 41 | chroma.LiteralNumberFloat: numbers, | ||
| 42 | chroma.LiteralNumberHex: numbers, | ||
| 43 | chroma.LiteralNumberInteger: numbers, | ||
| 44 | chroma.LiteralNumberOct: numbers, | ||
| 45 | |||
| 46 | chroma.LiteralString: strings, | ||
| 47 | chroma.LiteralStringEscape: strings, | ||
| 48 | chroma.LiteralStringInterpol: plainText, | ||
| 49 | |||
| 50 | chroma.Name: plainText, | ||
| 51 | chroma.NameBuiltin: otherTypeNames, | ||
| 52 | chroma.NameBuiltinPseudo: otherFunctionAndMethodNames, | ||
| 53 | chroma.NameClass: typeDeclarations, | ||
| 54 | chroma.NameFunction: otherDeclarations, | ||
| 55 | chroma.NameVariable: otherDeclarations, | ||
| 56 | |||
| 57 | chroma.Operator: plainText, | ||
| 58 | |||
| 59 | chroma.Punctuation: plainText, | ||
| 60 | |||
| 61 | chroma.Text: plainText, | ||
| 62 | })) | ||
diff --git a/vendor/github.com/alecthomas/chroma/v2/styles/xcode.go b/vendor/github.com/alecthomas/chroma/v2/styles/xcode.go new file mode 100644 index 0000000..592c9e3 --- /dev/null +++ b/vendor/github.com/alecthomas/chroma/v2/styles/xcode.go | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | package styles | ||
| 2 | |||
| 3 | import ( | ||
| 4 | "github.com/alecthomas/chroma/v2" | ||
| 5 | ) | ||
| 6 | |||
| 7 | // Xcode style. | ||
| 8 | var Xcode = Register(chroma.MustNewStyle("xcode", chroma.StyleEntries{ | ||
| 9 | chroma.Comment: "#177500", | ||
| 10 | chroma.CommentPreproc: "#633820", | ||
| 11 | chroma.LiteralString: "#C41A16", | ||
| 12 | chroma.LiteralStringChar: "#2300CE", | ||
| 13 | chroma.Operator: "#000000", | ||
| 14 | chroma.Keyword: "#A90D91", | ||
| 15 | chroma.Name: "#000000", | ||
| 16 | chroma.NameAttribute: "#836C28", | ||
| 17 | chroma.NameClass: "#3F6E75", | ||
| 18 | chroma.NameFunction: "#000000", | ||
| 19 | chroma.NameBuiltin: "#A90D91", | ||
| 20 | chroma.NameBuiltinPseudo: "#5B269A", | ||
| 21 | chroma.NameVariable: "#000000", | ||
| 22 | chroma.NameTag: "#000000", | ||
| 23 | chroma.NameDecorator: "#000000", | ||
| 24 | chroma.NameLabel: "#000000", | ||
| 25 | chroma.Literal: "#1C01CE", | ||
| 26 | chroma.LiteralNumber: "#1C01CE", | ||
| 27 | chroma.Error: "#000000", | ||
| 28 | chroma.Background: " bg:#ffffff", | ||
| 29 | })) | ||
