Create a default theme for the application. This theme combines the default styles from cmd2, rich-argparse, and Rich.
()
| 353 | |
| 354 | |
| 355 | def _create_default_theme() -> Theme: |
| 356 | """Create a default theme for the application. |
| 357 | |
| 358 | This theme combines the default styles from cmd2, rich-argparse, and Rich. |
| 359 | """ |
| 360 | app_styles = DEFAULT_CMD2_STYLES.copy() |
| 361 | app_styles.update(DEFAULT_ARGPARSE_STYLES) |
| 362 | return Theme(app_styles, inherit=True) |
| 363 | |
| 364 | |
| 365 | class Cmd2BaseConsole(Console): |