|
1 # -*- coding: utf-8 -*- |
|
2 """ |
|
3 pygments.styles.stata_dark |
|
4 ~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|
5 |
|
6 Dark style inspired by Stata's do-file editor. Note this is not |
|
7 meant to be a complete style, just for Stata's file formats. |
|
8 |
|
9 |
|
10 :copyright: Copyright 2006-2019 by the Pygments team, see AUTHORS. |
|
11 :license: BSD, see LICENSE for details. |
|
12 """ |
|
13 |
|
14 from pygments.style import Style |
|
15 from pygments.token import Keyword, Name, Comment, String, Error, \ |
|
16 Number, Operator, Whitespace, Generic, Text |
|
17 |
|
18 |
|
19 class StataDarkStyle(Style): |
|
20 |
|
21 default_style = '' |
|
22 |
|
23 background_color = "#232629" |
|
24 highlight_color = "#49483e" |
|
25 |
|
26 styles = { |
|
27 Whitespace: '#bbbbbb', |
|
28 Error: 'bg:#e3d2d2 #a61717', |
|
29 Text: '#cccccc', |
|
30 String: '#51cc99', |
|
31 Number: '#4FB8CC', |
|
32 Operator: '', |
|
33 Name.Function: '#6a6aff', |
|
34 Name.Other: '#e2828e', |
|
35 Keyword: 'bold #7686bb', |
|
36 Keyword.Constant: '', |
|
37 Comment: 'italic #777777', |
|
38 Name.Variable: 'bold #7AB4DB', |
|
39 Name.Variable.Global: 'bold #BE646C', |
|
40 Generic.Prompt: '#ffffff', |
|
41 } |