gitea

Development moved to Codeberg

  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6
  7. 7
  8. 8
  9. 9
  10. 10
  11. 11
  12. 12
  13. 13
  14. 14
  15. 15
  16. 16
  17. 17
  18. 18
  19. 19
  20. 20
  21. 21
  22. 22
  23. 23
  24. 24
  25. 25
  26. 26
  27. 27
  28. 28
  29. 29
  30. 30
  31. 31
  32. 32
  33. 33
  34. 34
  35. 35
  36. 36
  37. 37
  38. 38
  39. 39
  40. 40
  41. 41
  42. 42
  43. 43
  44. 44
  45. 45
  46. 46
  47. 47
  48. 48
  49. 49
  50. 50
  51. 51
  52. 52
  53. 53
  54. 54
  55. 55
  56. 56
  57. 57
  58. 58
  59. 59
  60. 60
  61. 61
  62. 62
  63. 63
  64. 64
  65. 65
  66. 66
  67. 67
  68. 68
  69. 69
  70. 70
  71. 71
  72. 72
  73. 73
  74. 74
  75. 75
  76. 76
  77. 77
  78. 78
  79. 79
package styles

import (
	"github.com/alecthomas/chroma"
)

// Tango style.
var Tango = Register(chroma.MustNewStyle("tango", chroma.StyleEntries{
	chroma.TextWhitespace:           "underline #f8f8f8",
	chroma.Error:                    "#a40000 border:#ef2929",
	chroma.Other:                    "#000000",
	chroma.Comment:                  "italic #8f5902",
	chroma.CommentMultiline:         "italic #8f5902",
	chroma.CommentPreproc:           "italic #8f5902",
	chroma.CommentSingle:            "italic #8f5902",
	chroma.CommentSpecial:           "italic #8f5902",
	chroma.Keyword:                  "bold #204a87",
	chroma.KeywordConstant:          "bold #204a87",
	chroma.KeywordDeclaration:       "bold #204a87",
	chroma.KeywordNamespace:         "bold #204a87",
	chroma.KeywordPseudo:            "bold #204a87",
	chroma.KeywordReserved:          "bold #204a87",
	chroma.KeywordType:              "bold #204a87",
	chroma.Operator:                 "bold #ce5c00",
	chroma.OperatorWord:             "bold #204a87",
	chroma.Punctuation:              "bold #000000",
	chroma.Name:                     "#000000",
	chroma.NameAttribute:            "#c4a000",
	chroma.NameBuiltin:              "#204a87",
	chroma.NameBuiltinPseudo:        "#3465a4",
	chroma.NameClass:                "#000000",
	chroma.NameConstant:             "#000000",
	chroma.NameDecorator:            "bold #5c35cc",
	chroma.NameEntity:               "#ce5c00",
	chroma.NameException:            "bold #cc0000",
	chroma.NameFunction:             "#000000",
	chroma.NameProperty:             "#000000",
	chroma.NameLabel:                "#f57900",
	chroma.NameNamespace:            "#000000",
	chroma.NameOther:                "#000000",
	chroma.NameTag:                  "bold #204a87",
	chroma.NameVariable:             "#000000",
	chroma.NameVariableClass:        "#000000",
	chroma.NameVariableGlobal:       "#000000",
	chroma.NameVariableInstance:     "#000000",
	chroma.LiteralNumber:            "bold #0000cf",
	chroma.LiteralNumberFloat:       "bold #0000cf",
	chroma.LiteralNumberHex:         "bold #0000cf",
	chroma.LiteralNumberInteger:     "bold #0000cf",
	chroma.LiteralNumberIntegerLong: "bold #0000cf",
	chroma.LiteralNumberOct:         "bold #0000cf",
	chroma.Literal:                  "#000000",
	chroma.LiteralDate:              "#000000",
	chroma.LiteralString:            "#4e9a06",
	chroma.LiteralStringBacktick:    "#4e9a06",
	chroma.LiteralStringChar:        "#4e9a06",
	chroma.LiteralStringDoc:         "italic #8f5902",
	chroma.LiteralStringDouble:      "#4e9a06",
	chroma.LiteralStringEscape:      "#4e9a06",
	chroma.LiteralStringHeredoc:     "#4e9a06",
	chroma.LiteralStringInterpol:    "#4e9a06",
	chroma.LiteralStringOther:       "#4e9a06",
	chroma.LiteralStringRegex:       "#4e9a06",
	chroma.LiteralStringSingle:      "#4e9a06",
	chroma.LiteralStringSymbol:      "#4e9a06",
	chroma.Generic:                  "#000000",
	chroma.GenericDeleted:           "#a40000",
	chroma.GenericEmph:              "italic #000000",
	chroma.GenericError:             "#ef2929",
	chroma.GenericHeading:           "bold #000080",
	chroma.GenericInserted:          "#00A000",
	chroma.GenericOutput:            "italic #000000",
	chroma.GenericPrompt:            "#8f5902",
	chroma.GenericStrong:            "bold #000000",
	chroma.GenericSubheading:        "bold #800080",
	chroma.GenericTraceback:         "bold #a40000",
	chroma.GenericUnderline:         "underline",
	chroma.Background:               " bg:#f8f8f8",
}))