diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 961f0375..abd8ebdb 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -8,6 +8,9 @@ This project adheres to `Semantic Versioning `_. `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) ------------------------- diff --git a/httpie/output/formatters/colors.py b/httpie/output/formatters/colors.py index 65a57d7b..6ee3964b 100644 --- a/httpie/output/formatters/colors.py +++ b/httpie/output/formatters/colors.py @@ -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