diff options
author | Georg Brandl <georg@python.org> | 2014-04-15 07:48:35 +0200 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2014-04-15 07:48:35 +0200 |
commit | 28a541c0709838b31ebeb2581db6f30fa5ba1f6c (patch) | |
tree | 2f31a6679d2ba03aad2d7b3ccb62cf707d888e81 /pygments/styles | |
parent | 9e64dcd5115ef3daa1ed923fb2f99d1bfa0df9df (diff) | |
download | pygments-28a541c0709838b31ebeb2581db6f30fa5ba1f6c.tar.gz |
Use importable module names for the Paraiso styles.
Diffstat (limited to 'pygments/styles')
-rw-r--r-- | pygments/styles/__init__.py | 4 | ||||
-rw-r--r-- | pygments/styles/paraiso_dark.py (renamed from pygments/styles/paraiso-dark.py) | 18 | ||||
-rw-r--r-- | pygments/styles/paraiso_light.py (renamed from pygments/styles/paraiso-light.py) | 18 |
3 files changed, 26 insertions, 14 deletions
diff --git a/pygments/styles/__init__.py b/pygments/styles/__init__.py index 828a0451..10aa7f1e 100644 --- a/pygments/styles/__init__.py +++ b/pygments/styles/__init__.py @@ -36,8 +36,8 @@ STYLE_MAP = { 'rrt': 'rrt::RrtStyle', 'xcode': 'xcode::XcodeStyle', 'igor': 'igor::IgorStyle', - 'paraiso-light': 'paraiso-light::paraiso_light', - 'paraiso-dark': 'paraiso-dark::paraiso_dark', + 'paraiso-light': 'paraiso_light::ParaisoLightStyle', + 'paraiso-dark': 'paraiso_dark::ParaisoDarkStyle', } diff --git a/pygments/styles/paraiso-dark.py b/pygments/styles/paraiso_dark.py index c3548490..3797a85d 100644 --- a/pygments/styles/paraiso-dark.py +++ b/pygments/styles/paraiso_dark.py @@ -1,15 +1,21 @@ # -*- coding: utf-8 -*- """ -Paraíso (Dark) -by Jan T. Sott + pygments.styles.paraiso_dark + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Pygments template by Jan T. Sott (https://github.com/idleberg) -Created with Base16 Builder by Chris Kempson (https://github.com/chriskempson/base16-builder) + Paraíso (Dark) by Jan T. Sott + + Pygments template by Jan T. Sott (https://github.com/idleberg) + Created with Base16 Builder by Chris Kempson + (https://github.com/chriskempson/base16-builder). + + :copyright: Copyright 2006-2014 by the Pygments team, see AUTHORS. + :license: BSD, see LICENSE for details. """ from pygments.style import Style from pygments.token import Keyword, Name, Comment, String, Error, Text, \ - Number, Operator, Generic, Whitespace, Punctuation, Other, Literal + Number, Operator, Generic, Whitespace, Punctuation, Other, Literal BACKGROUND = "#2f1e2e" @@ -26,7 +32,7 @@ BLUE = "#06b6ef" PURPLE = "#815ba4" -class paraiso_dark(Style): +class ParaisoDarkStyle(Style): default_style = '' diff --git a/pygments/styles/paraiso-light.py b/pygments/styles/paraiso_light.py index 7ed9f682..887705b9 100644 --- a/pygments/styles/paraiso-light.py +++ b/pygments/styles/paraiso_light.py @@ -1,15 +1,21 @@ # -*- coding: utf-8 -*- """ -Paraíso (Light) -by Jan T. Sott + pygments.styles.paraiso_light + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Pygments template by Jan T. Sott (https://github.com/idleberg) -Created with Base16 Builder by Chris Kempson (https://github.com/chriskempson/base16-builder) + Paraíso (Light) by Jan T. Sott + + Pygments template by Jan T. Sott (https://github.com/idleberg) + Created with Base16 Builder by Chris Kempson + (https://github.com/chriskempson/base16-builder). + + :copyright: Copyright 2006-2014 by the Pygments team, see AUTHORS. + :license: BSD, see LICENSE for details. """ from pygments.style import Style from pygments.token import Keyword, Name, Comment, String, Error, Text, \ - Number, Operator, Generic, Whitespace, Punctuation, Other, Literal + Number, Operator, Generic, Whitespace, Punctuation, Other, Literal BACKGROUND = "#e7e9db" @@ -26,7 +32,7 @@ BLUE = "#06b6ef" PURPLE = "#815ba4" -class paraiso_light(Style): +class ParaisoLightStyle(Style): default_style = '' |