Back to index

moin  1.9.0~rc2
fruity.py
Go to the documentation of this file.
00001 # -*- coding: utf-8 -*-
00002 """
00003     pygments.styles.fruity
00004     ~~~~~~~~~~~~~~~~~~~~~~
00005 
00006     pygments version of my "fruity" vim theme.
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 Token, Comment, Name, Keyword, \
00014     Generic, Number, String, Whitespace
00015 
00016 class FruityStyle(Style):
00017     """
00018     Pygments version of the "native" vim theme.
00019     """
00020 
00021     background_color = '#111111'
00022     highlight_color = '#333333'
00023 
00024     styles = {
00025         Whitespace:         '#888888',
00026         Token:              '#ffffff',
00027         Generic.Output:     '#444444 bg:#222222',
00028         Keyword:            '#fb660a bold',
00029         Keyword.Pseudo:     'nobold',
00030         Number:             '#0086f7 bold',
00031         Name.Tag:           '#fb660a bold',
00032         Name.Variable:      '#fb660a',
00033         Name.Constant:      '#fb660a',
00034         Comment:            '#008800 bg:#0f140f italic',
00035         Name.Attribute:     '#ff0086 bold',
00036         String:             '#0086d2',
00037         Name.Function:      '#ff0086 bold',
00038         Generic.Heading:    '#ffffff bold',
00039         Keyword.Type:       '#cdcaa9 bold',
00040         Generic.Subheading: '#ffffff bold',
00041         Name.Constant:      '#0086d2',
00042         Comment.Preproc:    '#ff0007 bold'
00043     }