rrt.py 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. """
  2. pygments.styles.rrt
  3. ~~~~~~~~~~~~~~~~~~~
  4. pygments "rrt" theme, based on Zap and Emacs defaults.
  5. :copyright: Copyright 2006-present by the Pygments team, see AUTHORS.
  6. :license: BSD, see LICENSE for details.
  7. """
  8. from pygments.style import Style
  9. from pygments.token import (
  10. Comment,
  11. Generic,
  12. Keyword,
  13. Name,
  14. Number,
  15. Operator,
  16. String,
  17. Token,
  18. )
  19. __all__ = ['RrtStyle']
  20. class RrtStyle(Style):
  21. """
  22. Minimalistic "rrt" theme, based on Zap and Emacs defaults.
  23. """
  24. name = 'rrt'
  25. background_color = '#000000'
  26. highlight_color = '#0000ff'
  27. styles = {
  28. Token: '#dddddd',
  29. Comment: '#00ff00',
  30. Generic.Emph: '#ffffff',
  31. Generic.Heading: '#ffff00',
  32. Generic.Subheading: '#ffff00',
  33. Generic.Strong: '#ffffff',
  34. Name.Entity: '#eedd82',
  35. Name.Function: '#ffff00',
  36. Name.Variable: '#eedd82',
  37. Name.Tag: '#7fffd4',
  38. Name.Constant: '#7fffd4',
  39. Keyword: '#ff0000',
  40. Operator.Word: '#ff0000',
  41. Comment.Preproc: '#e5e5e5',
  42. String: '#87ceeb',
  43. Keyword.Type: '#ee82ee',
  44. Number: '#ff00ff',
  45. }