|
1 # -*- coding: utf-8 -*- |
|
2 """ |
|
3 pygments.styles.vs |
|
4 ~~~~~~~~~~~~~~~~~~ |
|
5 |
|
6 Simple style with MS Visual Studio colors. |
|
7 |
|
8 :copyright: Copyright 2006-2009 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 } |