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
package styles

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

// Murphy style.
var Murphy = Register(chroma.MustNewStyle("murphy", chroma.StyleEntries{
	chroma.TextWhitespace:        "#bbbbbb",
	chroma.Comment:               "#666 italic",
	chroma.CommentPreproc:        "#579 noitalic",
	chroma.CommentSpecial:        "#c00 bold",
	chroma.Keyword:               "bold #289",
	chroma.KeywordPseudo:         "#08f",
	chroma.KeywordType:           "#66f",
	chroma.Operator:              "#333",
	chroma.OperatorWord:          "bold #000",
	chroma.NameBuiltin:           "#072",
	chroma.NameFunction:          "bold #5ed",
	chroma.NameClass:             "bold #e9e",
	chroma.NameNamespace:         "bold #0e84b5",
	chroma.NameException:         "bold #F00",
	chroma.NameVariable:          "#036",
	chroma.NameVariableInstance:  "#aaf",
	chroma.NameVariableClass:     "#ccf",
	chroma.NameVariableGlobal:    "#f84",
	chroma.NameConstant:          "bold #5ed",
	chroma.NameLabel:             "bold #970",
	chroma.NameEntity:            "#800",
	chroma.NameAttribute:         "#007",
	chroma.NameTag:               "#070",
	chroma.NameDecorator:         "bold #555",
	chroma.LiteralString:         "bg:#e0e0ff",
	chroma.LiteralStringChar:     "#88F bg:",
	chroma.LiteralStringDoc:      "#D42 bg:",
	chroma.LiteralStringInterpol: "bg:#eee",
	chroma.LiteralStringEscape:   "bold #666",
	chroma.LiteralStringRegex:    "bg:#e0e0ff #000",
	chroma.LiteralStringSymbol:   "#fc8 bg:",
	chroma.LiteralStringOther:    "#f88",
	chroma.LiteralNumber:         "bold #60E",
	chroma.LiteralNumberInteger:  "bold #66f",
	chroma.LiteralNumberFloat:    "bold #60E",
	chroma.LiteralNumberHex:      "bold #058",
	chroma.LiteralNumberOct:      "bold #40E",
	chroma.GenericHeading:        "bold #000080",
	chroma.GenericSubheading:     "bold #800080",
	chroma.GenericDeleted:        "#A00000",
	chroma.GenericInserted:       "#00A000",
	chroma.GenericError:          "#FF0000",
	chroma.GenericEmph:           "italic",
	chroma.GenericStrong:         "bold",
	chroma.GenericPrompt:         "bold #c65d09",
	chroma.GenericOutput:         "#888",
	chroma.GenericTraceback:      "#04D",
	chroma.GenericUnderline:      "underline",
	chroma.Error:                 "#F00 bg:#FAA",
	chroma.Background:            " bg:#ffffff",
}))