rrt.py 964 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. """
  2. pygments.styles.rrt
  3. ~~~~~~~~~~~~~~~~~~~
  4. pygments "rrt" theme, based on Zap and Emacs defaults.
  5. :copyright: Copyright 2006-2024 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 Token, Comment, Name, Keyword, String, Number
  10. __all__ = ['RrtStyle']
  11. class RrtStyle(Style):
  12. """
  13. Minimalistic "rrt" theme, based on Zap and Emacs defaults.
  14. """
  15. name = 'rrt'
  16. background_color = '#000000'
  17. highlight_color = '#0000ff'
  18. styles = {
  19. Token: '#dddddd',
  20. Comment: '#00ff00',
  21. Name.Function: '#ffff00',
  22. Name.Variable: '#eedd82',
  23. Name.Constant: '#7fffd4',
  24. Keyword: '#ff0000',
  25. Comment.Preproc: '#e5e5e5',
  26. String: '#87ceeb',
  27. Keyword.Type: '#ee82ee',
  28. Number: '#ff00ff',
  29. }