Back to index

moin  1.9.0~rc2
vs.py
Go to the documentation of this file.
00001 # -*- coding: utf-8 -*-
00002 """
00003     pygments.styles.vs
00004     ~~~~~~~~~~~~~~~~~~
00005 
00006     Simple style with MS Visual Studio colors.
00007 
00008     :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS.
00009     :license: BSD, see LICENSE for details.
00010 """
00011 
00012 from pygments.style import Style
00013 from pygments.token import Keyword, Name, Comment, String, Error, \
00014      Operator, Generic
00015 
00016 
00017 class VisualStudioStyle(Style):
00018 
00019     background_color = "#ffffff"
00020     default_style = ""
00021 
00022     styles = {
00023         Comment:                   "#008000",
00024         Comment.Preproc:           "#0000ff",
00025         Keyword:                   "#0000ff",
00026         Operator.Word:             "#0000ff",
00027         Keyword.Type:              "#2b91af",
00028         Name.Class:                "#2b91af",
00029         String:                    "#a31515",
00030 
00031         Generic.Heading:           "bold",
00032         Generic.Subheading:        "bold",
00033         Generic.Emph:              "italic",
00034         Generic.Strong:            "bold",
00035         Generic.Prompt:            "bold",
00036 
00037         Error:                     "border:#FF0000"
00038     }