You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

base16-snazzy.go 3.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. package styles
  2. import (
  3. "github.com/alecthomas/chroma"
  4. )
  5. // Base16Snazzy style
  6. var Base16Snazzy = Register(chroma.MustNewStyle("base16-snazzy", chroma.StyleEntries{
  7. chroma.Comment: "#78787e",
  8. chroma.CommentHashbang: "#78787e",
  9. chroma.CommentMultiline: "#78787e",
  10. chroma.CommentPreproc: "#78787e",
  11. chroma.CommentSingle: "#78787e",
  12. chroma.CommentSpecial: "#78787e",
  13. chroma.Generic: "#e2e4e5",
  14. chroma.GenericDeleted: "#ff5c57",
  15. chroma.GenericEmph: "#e2e4e5 underline",
  16. chroma.GenericError: "#ff5c57",
  17. chroma.GenericHeading: "#e2e4e5 bold",
  18. chroma.GenericInserted: "#e2e4e5 bold",
  19. chroma.GenericOutput: "#43454f",
  20. chroma.GenericPrompt: "#e2e4e5",
  21. chroma.GenericStrong: "#e2e4e5 italic",
  22. chroma.GenericSubheading: "#e2e4e5 bold",
  23. chroma.GenericTraceback: "#e2e4e5",
  24. chroma.GenericUnderline: "underline",
  25. chroma.Error: "#ff5c57",
  26. chroma.Keyword: "#ff6ac1",
  27. chroma.KeywordConstant: "#ff6ac1",
  28. chroma.KeywordDeclaration: "#ff5c57",
  29. chroma.KeywordNamespace: "#ff6ac1",
  30. chroma.KeywordPseudo: "#ff6ac1",
  31. chroma.KeywordReserved: "#ff6ac1",
  32. chroma.KeywordType: "#9aedfe",
  33. chroma.Literal: "#e2e4e5",
  34. chroma.LiteralDate: "#e2e4e5",
  35. chroma.Name: "#e2e4e5",
  36. chroma.NameAttribute: "#57c7ff",
  37. chroma.NameBuiltin: "#ff5c57",
  38. chroma.NameBuiltinPseudo: "#e2e4e5",
  39. chroma.NameClass: "#f3f99d",
  40. chroma.NameConstant: "#ff9f43",
  41. chroma.NameDecorator: "#ff9f43",
  42. chroma.NameEntity: "#e2e4e5",
  43. chroma.NameException: "#e2e4e5",
  44. chroma.NameFunction: "#57c7ff",
  45. chroma.NameLabel: "#ff5c57",
  46. chroma.NameNamespace: "#e2e4e5",
  47. chroma.NameOther: "#e2e4e5",
  48. chroma.NameTag: "#ff6ac1",
  49. chroma.NameVariable: "#ff5c57",
  50. chroma.NameVariableClass: "#ff5c57",
  51. chroma.NameVariableGlobal: "#ff5c57",
  52. chroma.NameVariableInstance: "#ff5c57",
  53. chroma.LiteralNumber: "#ff9f43",
  54. chroma.LiteralNumberBin: "#ff9f43",
  55. chroma.LiteralNumberFloat: "#ff9f43",
  56. chroma.LiteralNumberHex: "#ff9f43",
  57. chroma.LiteralNumberInteger: "#ff9f43",
  58. chroma.LiteralNumberIntegerLong: "#ff9f43",
  59. chroma.LiteralNumberOct: "#ff9f43",
  60. chroma.Operator: "#ff6ac1",
  61. chroma.OperatorWord: "#ff6ac1",
  62. chroma.Other: "#e2e4e5",
  63. chroma.Punctuation: "#e2e4e5",
  64. chroma.LiteralString: "#5af78e",
  65. chroma.LiteralStringBacktick: "#5af78e",
  66. chroma.LiteralStringChar: "#5af78e",
  67. chroma.LiteralStringDoc: "#5af78e",
  68. chroma.LiteralStringDouble: "#5af78e",
  69. chroma.LiteralStringEscape: "#5af78e",
  70. chroma.LiteralStringHeredoc: "#5af78e",
  71. chroma.LiteralStringInterpol: "#5af78e",
  72. chroma.LiteralStringOther: "#5af78e",
  73. chroma.LiteralStringRegex: "#5af78e",
  74. chroma.LiteralStringSingle: "#5af78e",
  75. chroma.LiteralStringSymbol: "#5af78e",
  76. chroma.Text: "#e2e4e5",
  77. chroma.TextWhitespace: "#e2e4e5",
  78. chroma.Background: " bg:#282a36",
  79. }))