Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

manni.go 2.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. package styles
  2. import (
  3. "github.com/alecthomas/chroma"
  4. )
  5. // Manni style.
  6. var Manni = Register(chroma.MustNewStyle("manni", chroma.StyleEntries{
  7. chroma.TextWhitespace: "#bbbbbb",
  8. chroma.Comment: "italic #0099FF",
  9. chroma.CommentPreproc: "noitalic #009999",
  10. chroma.CommentSpecial: "bold",
  11. chroma.Keyword: "bold #006699",
  12. chroma.KeywordPseudo: "nobold",
  13. chroma.KeywordType: "#007788",
  14. chroma.Operator: "#555555",
  15. chroma.OperatorWord: "bold #000000",
  16. chroma.NameBuiltin: "#336666",
  17. chroma.NameFunction: "#CC00FF",
  18. chroma.NameClass: "bold #00AA88",
  19. chroma.NameNamespace: "bold #00CCFF",
  20. chroma.NameException: "bold #CC0000",
  21. chroma.NameVariable: "#003333",
  22. chroma.NameConstant: "#336600",
  23. chroma.NameLabel: "#9999FF",
  24. chroma.NameEntity: "bold #999999",
  25. chroma.NameAttribute: "#330099",
  26. chroma.NameTag: "bold #330099",
  27. chroma.NameDecorator: "#9999FF",
  28. chroma.LiteralString: "#CC3300",
  29. chroma.LiteralStringDoc: "italic",
  30. chroma.LiteralStringInterpol: "#AA0000",
  31. chroma.LiteralStringEscape: "bold #CC3300",
  32. chroma.LiteralStringRegex: "#33AAAA",
  33. chroma.LiteralStringSymbol: "#FFCC33",
  34. chroma.LiteralStringOther: "#CC3300",
  35. chroma.LiteralNumber: "#FF6600",
  36. chroma.GenericHeading: "bold #003300",
  37. chroma.GenericSubheading: "bold #003300",
  38. chroma.GenericDeleted: "border:#CC0000 bg:#FFCCCC",
  39. chroma.GenericInserted: "border:#00CC00 bg:#CCFFCC",
  40. chroma.GenericError: "#FF0000",
  41. chroma.GenericEmph: "italic",
  42. chroma.GenericStrong: "bold",
  43. chroma.GenericPrompt: "bold #000099",
  44. chroma.GenericOutput: "#AAAAAA",
  45. chroma.GenericTraceback: "#99CC66",
  46. chroma.GenericUnderline: "underline",
  47. chroma.Error: "bg:#FFAAAA #AA0000",
  48. chroma.Background: " bg:#f0f3f3",
  49. }))