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.

native.go 1.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. package styles
  2. import (
  3. "github.com/alecthomas/chroma"
  4. )
  5. // Native style.
  6. var Native = Register(chroma.MustNewStyle("native", chroma.StyleEntries{
  7. chroma.Background: "#d0d0d0 bg:#202020",
  8. chroma.TextWhitespace: "#666666",
  9. chroma.Comment: "italic #999999",
  10. chroma.CommentPreproc: "noitalic bold #cd2828",
  11. chroma.CommentSpecial: "noitalic bold #e50808 bg:#520000",
  12. chroma.Keyword: "bold #6ab825",
  13. chroma.KeywordPseudo: "nobold",
  14. chroma.OperatorWord: "bold #6ab825",
  15. chroma.LiteralString: "#ed9d13",
  16. chroma.LiteralStringOther: "#ffa500",
  17. chroma.LiteralNumber: "#3677a9",
  18. chroma.NameBuiltin: "#24909d",
  19. chroma.NameVariable: "#40ffff",
  20. chroma.NameConstant: "#40ffff",
  21. chroma.NameClass: "underline #447fcf",
  22. chroma.NameFunction: "#447fcf",
  23. chroma.NameNamespace: "underline #447fcf",
  24. chroma.NameException: "#bbbbbb",
  25. chroma.NameTag: "bold #6ab825",
  26. chroma.NameAttribute: "#bbbbbb",
  27. chroma.NameDecorator: "#ffa500",
  28. chroma.GenericHeading: "bold #ffffff",
  29. chroma.GenericSubheading: "underline #ffffff",
  30. chroma.GenericDeleted: "#d22323",
  31. chroma.GenericInserted: "#589819",
  32. chroma.GenericError: "#d22323",
  33. chroma.GenericEmph: "italic",
  34. chroma.GenericStrong: "bold",
  35. chroma.GenericPrompt: "#aaaaaa",
  36. chroma.GenericOutput: "#cccccc",
  37. chroma.GenericTraceback: "#d22323",
  38. chroma.GenericUnderline: "underline",
  39. chroma.Error: "bg:#e3d2d2 #a61717",
  40. }))