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

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

// Doom One 2 style. Inspired by Atom One and Doom Emacs's Atom One theme
var DoomOne2 = Register(chroma.MustNewStyle("doom-one2", chroma.StyleEntries{
	chroma.Text:                 "#b0c4de",
	chroma.Error:                "#b0c4de",
	chroma.Comment:              "italic #8a93a5",
	chroma.CommentHashbang:      "bold",
	chroma.Keyword:              "#76a9f9",
	chroma.KeywordConstant:      "#e5c07b",
	chroma.KeywordType:          "#e5c07b",
	chroma.Operator:             "#54b1c7",
	chroma.OperatorWord:         "bold #b756ff",
	chroma.Punctuation:          "#abb2bf",
	chroma.Name:                 "#aa89ea",
	chroma.NameAttribute:        "#cebc3a",
	chroma.NameBuiltin:          "#e5c07b",
	chroma.NameClass:            "#ca72ff",
	chroma.NameConstant:         "bold",
	chroma.NameDecorator:        "#e5c07b",
	chroma.NameEntity:           "#bda26f",
	chroma.NameException:        "bold #fd7474",
	chroma.NameFunction:         "#00b1f7",
	chroma.NameProperty:         "#cebc3a",
	chroma.NameLabel:            "#f5a40d",
	chroma.NameNamespace:        "#ca72ff",
	chroma.NameTag:              "#76a9f9",
	chroma.NameVariable:         "#DCAEEA",
	chroma.NameVariableClass:    "#DCAEEA",
	chroma.NameVariableGlobal:   "bold #DCAEEA",
	chroma.NameVariableInstance: "#e06c75",
	chroma.NameVariableMagic:    "#DCAEEA",
	chroma.Literal:              "#98c379",
	chroma.LiteralDate:          "#98c379",
	chroma.Number:               "#d19a66",
	chroma.NumberBin:            "#d19a66",
	chroma.NumberFloat:          "#d19a66",
	chroma.NumberHex:            "#d19a66",
	chroma.NumberInteger:        "#d19a66",
	chroma.NumberIntegerLong:    "#d19a66",
	chroma.NumberOct:            "#d19a66",
	chroma.String:               "#98c379",
	chroma.StringAffix:          "#98c379",
	chroma.StringBacktick:       "#98c379",
	chroma.StringDelimiter:      "#98c379",
	chroma.StringDoc:            "#7e97c3",
	chroma.StringDouble:         "#63c381",
	chroma.StringEscape:         "bold #d26464",
	chroma.StringHeredoc:        "#98c379",
	chroma.StringInterpol:       "#98c379",
	chroma.StringOther:          "#70b33f",
	chroma.StringRegex:          "#56b6c2",
	chroma.StringSingle:         "#98c379",
	chroma.StringSymbol:         "#56b6c2",
	chroma.Generic:              "#b0c4de",
	chroma.GenericDeleted:       "#b0c4de",
	chroma.GenericEmph:          "italic",
	chroma.GenericHeading:       "bold #a2cbff",
	chroma.GenericInserted:      "#a6e22e",
	chroma.GenericOutput:        "#a6e22e",
	chroma.GenericUnderline:     "underline",
	chroma.GenericPrompt:        "#a6e22e",
	chroma.GenericStrong:        "bold",
	chroma.GenericSubheading:    "#a2cbff",
	chroma.GenericTraceback:     "#a2cbff",
	chroma.Background:           "#b0c4de bg:#282c34",
}))