1 # -*- coding: utf-8 -*-
6 from pygments.style import Style
7 from pygments.token import *
9 # extracted from getbootstrap.com
10 class OdooStyle(Style):
11 background_color = '#ffffcc'
12 highlight_color = '#fcf8e3'
15 Error: 'bg:#FAA #A00',
20 Name.Attribute: '#4F9FCF',
23 Name.Constant: '#360',
24 Name.Decorator: '#99F',
26 Name.Exception: '#C00',
27 Name.Function: '#C0F',
29 Name.Namespace: '#0CF',
31 Name.Variable: '#033',
34 String.Backtick: '#C30',
36 String.Doc: 'italic #C30',
37 String.Double: '#C30',
38 String.Escape: '#C30',
39 String.Heredoc: '#C30',
40 String.Interol: '#C30',
43 String.Single: '#C30',
44 String.Symbol: '#FC3',
49 Operator.Word: '#000',
52 Comment.Preproc: '#099',
54 Generic.Deleted: 'bg:#FCC border:#c00',
55 Generic.Emph: 'italic',
56 Generic.Error: '#F00',
57 Generic.Heading: '#030',
58 Generic.Inserted: 'bg:#CFC border:#0C0',
59 Generic.Output: '#AAA',
60 Generic.Prompt: '#009',
62 Generic.Subheading: '#030',
63 Generic.Traceback: '#9C6',
67 modname = 'pygments.styles.odoo'
68 m = imp.new_module(modname)
69 m.OdooStyle = OdooStyle
70 sys.modules[modname] = m