mirror of
https://github.com/httpie/cli.git
synced 2025-06-27 13:01:43 +02:00
parent
c75c4fa2a6
commit
274dddfb45
@ -8,6 +8,9 @@ This project adheres to `Semantic Versioning <http://semver.org/>`_.
|
|||||||
`1.0.0-dev`_ (Unreleased)
|
`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)
|
`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.
|
# great and fruity seems to give the best result there.
|
||||||
AVAILABLE_STYLES = set(pygments.styles.STYLE_MAP.keys())
|
AVAILABLE_STYLES = set(pygments.styles.STYLE_MAP.keys())
|
||||||
AVAILABLE_STYLES.add('solarized')
|
AVAILABLE_STYLES.add('solarized')
|
||||||
DEFAULT_STYLE = 'monokai'
|
DEFAULT_STYLE = 'solarized'
|
||||||
|
|
||||||
|
|
||||||
class ColorFormatter(FormatterPlugin):
|
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):
|
class Solarized256Style(pygments.style.Style):
|
||||||
"""
|
"""
|
||||||
solarized256
|
solarized256
|
||||||
|
Loading…
x
Reference in New Issue
Block a user