staroffice.py 770 B

1234567891011121314151617181920212223242526
  1. """
  2. pygments.styles.staroffice
  3. ~~~~~~~~~~~~~~~~~~~~~~~~~~
  4. Style similar to StarOffice style, also in OpenOffice and LibreOffice.
  5. :copyright: Copyright 2006-2023 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 Comment, Error, Literal, Name, Token
  10. class StarofficeStyle(Style):
  11. """
  12. Style similar to StarOffice style, also in OpenOffice and LibreOffice.
  13. """
  14. styles = {
  15. Token: '#000080', # Blue
  16. Comment: '#696969', # DimGray
  17. Error: '#800000', # Maroon
  18. Literal: '#EE0000', # Red
  19. Name: '#008000', # Green
  20. }