blob: 9d641f04475017401d9e5d2db08c78113653302f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
"""
Styling for prompt_toolkit applications.
"""
from __future__ import unicode_literals
from .base import *
from .defaults import *
from .from_dict import *
from .from_pygments import *
from .utils import *
#: The default built-in style.
#: (For backwards compatibility, when Pygments is installed, this includes the
#: default Pygments style.)
try:
import pygments
except ImportError:
DEFAULT_STYLE = style_from_dict(DEFAULT_STYLE_EXTENSIONS)
else:
DEFAULT_STYLE = style_from_pygments()
|