|
3 | 3 | from .style import Style |
4 | 4 |
|
5 | 5 | DEFAULT_STYLES: Dict[str, Style] = { |
6 | | - "none": Style(), |
| 6 | + "none": Style.null(), |
7 | 7 | "reset": Style( |
8 | 8 | color="default", |
9 | 9 | bgcolor="default", |
|
51 | 51 | "logging.level.warning": Style(color="red"), |
52 | 52 | "logging.level.error": Style(color="red", bold=True), |
53 | 53 | "logging.level.critical": Style(color="red", bold=True, reverse=True), |
54 | | - "log.level": Style(), |
| 54 | + "log.level": Style.null(), |
55 | 55 | "log.time": Style(color="cyan", dim=True), |
56 | | - "log.message": Style(), |
| 56 | + "log.message": Style.null(), |
57 | 57 | "log.path": Style(dim=True), |
58 | 58 | "repr.error": Style(color="red", bold=True), |
59 | 59 | "repr.str": Style(color="green", italic=False, bold=False), |
|
75 | 75 | "repr.url": Style(underline=True, color="bright_blue", italic=False, bold=False), |
76 | 76 | "repr.uuid": Style(color="bright_yellow", bold=False), |
77 | 77 | "rule.line": Style(color="bright_green"), |
78 | | - "rule.text": Style(), |
79 | | - "prompt": Style(), |
| 78 | + "rule.text": Style.null(), |
| 79 | + "prompt": Style.null(), |
80 | 80 | "prompt.choices": Style(color="magenta", bold=True), |
81 | 81 | "prompt.default": Style(color="cyan", bold=True), |
82 | 82 | "prompt.invalid": Style(color="red"), |
83 | 83 | "prompt.invalid.choice": Style(color="red"), |
| 84 | + "pretty": Style.null(), |
84 | 85 | "scope.border": Style(color="blue"), |
85 | 86 | "scope.key": Style(color="yellow", italic=True), |
86 | 87 | "scope.key.special": Style(color="yellow", italic=True, dim=True), |
|
89 | 90 | "repr.filename": Style(color="bright_magenta"), |
90 | 91 | "table.header": Style(bold=True), |
91 | 92 | "table.footer": Style(bold=True), |
92 | | - "table.cell": Style(), |
| 93 | + "table.cell": Style.null(), |
93 | 94 | "table.title": Style(italic=True), |
94 | 95 | "table.caption": Style(italic=True, dim=True), |
95 | 96 | "traceback.border.syntax_error": Style(color="bright_red"), |
96 | 97 | "traceback.border": Style(color="red"), |
97 | | - "traceback.text": Style(), |
| 98 | + "traceback.text": Style.null(), |
98 | 99 | "traceback.title": Style(color="red", bold=True), |
99 | 100 | "traceback.exc_type": Style(color="bright_red", bold=True), |
100 | | - "traceback.exc_value": Style(), |
| 101 | + "traceback.exc_value": Style.null(), |
101 | 102 | "traceback.offset": Style(color="bright_red", bold=True), |
102 | 103 | "bar.back": Style(color="grey23"), |
103 | 104 | "bar.complete": Style(color="rgb(249,38,114)"), |
104 | 105 | "bar.finished": Style(color="rgb(114,156,31)"), |
105 | 106 | "bar.pulse": Style(color="rgb(249,38,114)"), |
106 | | - "progress.description": Style(), |
| 107 | + "progress.description": Style.null(), |
107 | 108 | "progress.filesize": Style(color="green"), |
108 | 109 | "progress.filesize.total": Style(color="green"), |
109 | 110 | "progress.download": Style(color="green"), |
|
0 commit comments