1
0
mirror of https://github.com/httpie/cli.git synced 2024-11-24 08:22:22 +02:00

Changed the default color style back to solarized

Closes #440
This commit is contained in:
Jakub Roztocil 2016-02-17 14:46:35 +08:00
parent c75c4fa2a6
commit 274dddfb45
2 changed files with 4 additions and 3 deletions

View File

@ -8,6 +8,9 @@ This project adheres to `Semantic Versioning <http://semver.org/>`_.
`1.0.0-dev`_ (Unreleased)
-------------------------
* Changed the default color style back to``solarized`` as it supports
both the light and dark terminal background mode.
`0.9.3`_ (2016-01-01)
-------------------------

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 = 'monokai'
DEFAULT_STYLE = 'solarized'
class ColorFormatter(FormatterPlugin):
@ -143,8 +143,6 @@ class HTTPLexer(pygments.lexer.RegexLexer):
}
# TODO: As Solarized is not the default theme any longer, it should be removed
# or bundled directly with Pygments so that we don't need to support it.
class Solarized256Style(pygments.style.Style):
"""
solarized256