vs.py 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. """
  2. pygments.styles.vs
  3. ~~~~~~~~~~~~~~~~~~
  4. Simple style with MS Visual Studio colors.
  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 Keyword, Name, Comment, String, Error, \
  10. Operator, Generic
  11. __all__ = ['VisualStudioStyle']
  12. class VisualStudioStyle(Style):
  13. name = 'vs'
  14. background_color = "#ffffff"
  15. styles = {
  16. Comment: "#008000",
  17. Comment.Preproc: "#0000ff",
  18. Keyword: "#0000ff",
  19. Operator.Word: "#0000ff",
  20. Keyword.Type: "#2b91af",
  21. Name.Class: "#2b91af",
  22. String: "#a31515",
  23. Generic.Heading: "bold",
  24. Generic.Subheading: "bold",
  25. Generic.Emph: "italic",
  26. Generic.Strong: "bold",
  27. Generic.EmphStrong: "bold italic",
  28. Generic.Prompt: "bold",
  29. Error: "border:#FF0000"
  30. }