Skip to content

Instantly share code, notes, and snippets.

@mejarc
Created February 22, 2013 16:23
Show Gist options
  • Select an option

  • Save mejarc/5014598 to your computer and use it in GitHub Desktop.

Select an option

Save mejarc/5014598 to your computer and use it in GitHub Desktop.
Ben Alman's TextMate presentation theme converted for Pygments
# -*- coding: utf-8 -*-
"""
Cowboy Colorscheme
~~~~~~~~~~~~~~~~~~
Converted by Vim Colorscheme Converter
"""
from pygments.style import Style
from pygments.token import Token, Comment, Name, Keyword, Generic, Number, Operator, String
class CowboyStyle(Style):
background_color = '#ffffff'
styles = {
Token: 'noinherit #000000 bg:#ffffff',
Generic.Deleted: 'noinherit #f25454',
Name.Label: 'noinherit #008040',
Number: 'noinherit #ff00ff',
Name.Attribute: 'noinherit #ff0000',
Comment: 'noinherit #4c4c4c',
String: 'noinherit #008040',
Name.Constant: 'noinherit #ff00ff',
Keyword.Type: 'noinherit #ff0000',
Number.Float: 'noinherit #ff00ff',
Generic.Inserted: '#000000 bg:#a1e85d bold',
Keyword: '#0000ff bold',
Generic.Output: 'noinherit #ffcf9e bg:#f2f2f2',
Generic.Traceback: 'noinherit #f8f8f8 bg:#800f00',
Name.Function: 'noinherit #ff0000',
Name.Tag: '#0000ff bold',
Name.Entity: 'noinherit #000000',
Comment.Preproc: '#0000ff bold',
Generic.Heading: '#000000 bold',
Generic.Emph: 'underline',
Name.Variable: '#804000 bold',
Generic.Subheading: '#000000 bold',
Operator.Word: '#0000ff bold',
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment