Default --style to "monokai"

419ca85
This commit is contained in:
Jakub Roztocil 2015-02-14 22:51:31 +01:00
parent 07aaefa232
commit dd0a4ab87a
3 changed files with 2 additions and 2 deletions

View File

@ -1314,7 +1314,7 @@ Changelog
*You can click a version name to see a diff with the previous one.*
* `1.0.0-dev`_
* The default color ``--style`` is now ``fruity`` (was ``solarized``).
* The default color ``--style`` is now ``monokai`` (was ``solarized``).
* Changed the default JSON ``Content-Type``
from ``application/json; charset=utf-8`` to ``application/json``
as UTF-8 is the default encoding for JSON.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 183 KiB

After

Width:  |  Height:  |  Size: 182 KiB

View File

@ -14,7 +14,7 @@ from httpie.plugins import FormatterPlugin
# great and fruity seems to give the best result there.
AVAILABLE_STYLES = set(pygments.styles.STYLE_MAP.keys())
AVAILABLE_STYLES.add('solarized')
DEFAULT_STYLE = 'fruity'
DEFAULT_STYLE = 'monokai'
class ColorFormatter(FormatterPlugin):