~ubuntu-branches/ubuntu/natty/moin/natty-updates

« back to all changes in this revision

Viewing changes to MoinMoin/support/pygments/styles/vs.py

  • Committer: Bazaar Package Importer
  • Author(s): Jonas Smedegaard
  • Date: 2008-06-22 21:17:13 UTC
  • mto: This revision was merged to the branch mainline in revision 18.
  • Revision ID: james.westby@ubuntu.com-20080622211713-inlv5k4eifxckelr
ImportĀ upstreamĀ versionĀ 1.7.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# -*- coding: utf-8 -*-
2
 
"""
3
 
    pygments.styles.vs
4
 
    ~~~~~~~~~~~~~~~~~~
5
 
 
6
 
    Simple style with MS Visual Studio colors.
7
 
 
8
 
    :copyright: Copyright 2006-2010 by the Pygments team, see AUTHORS.
9
 
    :license: BSD, see LICENSE for details.
10
 
"""
11
 
 
12
 
from pygments.style import Style
13
 
from pygments.token import Keyword, Name, Comment, String, Error, \
14
 
     Operator, Generic
15
 
 
16
 
 
17
 
class VisualStudioStyle(Style):
18
 
 
19
 
    background_color = "#ffffff"
20
 
    default_style = ""
21
 
 
22
 
    styles = {
23
 
        Comment:                   "#008000",
24
 
        Comment.Preproc:           "#0000ff",
25
 
        Keyword:                   "#0000ff",
26
 
        Operator.Word:             "#0000ff",
27
 
        Keyword.Type:              "#2b91af",
28
 
        Name.Class:                "#2b91af",
29
 
        String:                    "#a31515",
30
 
 
31
 
        Generic.Heading:           "bold",
32
 
        Generic.Subheading:        "bold",
33
 
        Generic.Emph:              "italic",
34
 
        Generic.Strong:            "bold",
35
 
        Generic.Prompt:            "bold",
36
 
 
37
 
        Error:                     "border:#FF0000"
38
 
    }