fruity.py 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. """
  2. pygments.styles.fruity
  3. ~~~~~~~~~~~~~~~~~~~~~~
  4. pygments version of my "fruity" vim theme.
  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, \
  10. Generic, Number, String, Whitespace
  11. __all__ = ['FruityStyle']
  12. class FruityStyle(Style):
  13. """
  14. Pygments version of the "native" vim theme.
  15. """
  16. name = 'fruity'
  17. background_color = '#111111'
  18. highlight_color = '#333333'
  19. styles = {
  20. Whitespace: '#888888',
  21. Token: '#ffffff',
  22. Generic.Output: '#444444 bg:#222222',
  23. Keyword: '#fb660a bold',
  24. Keyword.Pseudo: 'nobold',
  25. Number: '#0086f7 bold',
  26. Name.Tag: '#fb660a bold',
  27. Name.Variable: '#fb660a',
  28. Comment: '#008800 bg:#0f140f italic',
  29. Name.Attribute: '#ff0086 bold',
  30. String: '#0086d2',
  31. Name.Function: '#ff0086 bold',
  32. Generic.Heading: '#ffffff bold',
  33. Keyword.Type: '#cdcaa9 bold',
  34. Generic.Subheading: '#ffffff bold',
  35. Name.Constant: '#0086d2',
  36. Comment.Preproc: '#ff0007 bold'
  37. }