mirror of
https://github.com/httpie/cli.git
synced 2024-11-24 08:22:22 +02:00
parent
c75c4fa2a6
commit
274dddfb45
@ -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)
|
||||
-------------------------
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user