| 174 | |
| 175 | |
| 176 | class ColorizedStyler(Styler): |
| 177 | def __init__(self): |
| 178 | colorama.init(**COLORAMA_KWARGS) # noqa |
| 179 | |
| 180 | def style_title(self, text): |
| 181 | # Originally bold + underline |
| 182 | return text |
| 183 | # return colorama.Style.BOLD + text + colorama.Style.RESET_ALL |
| 184 | |
| 185 | def style_header_column(self, text): |
| 186 | # Originally underline |
| 187 | return text |
| 188 | |
| 189 | def style_row_element(self, text): |
| 190 | return ( |
| 191 | colorama.Style.BRIGHT |
| 192 | + colorama.Fore.BLUE |
| 193 | + text |
| 194 | + colorama.Style.RESET_ALL |
| 195 | ) |
| 196 | |
| 197 | def style_indentation_char(self, text): |
| 198 | return ( |
| 199 | colorama.Style.DIM |
| 200 | + colorama.Fore.YELLOW |
| 201 | + text |
| 202 | + colorama.Style.RESET_ALL |
| 203 | ) |
| 204 | |
| 205 | |
| 206 | class MultiTable: |