File tree Expand file tree Collapse file tree 3 files changed +12
-0
lines changed Expand file tree Collapse file tree 3 files changed +12
-0
lines changed Original file line number Diff line number Diff line change 27
27
- [ Shortcuts, Aliases, and Macros] ( shortcuts_aliases_macros.md )
28
28
- [ Startup Commands] ( startup_commands.md )
29
29
- [ Table Creation] ( table_creation.md )
30
+ - [ Theme] ( theme.md )
30
31
- [ Transcripts] ( transcripts.md )
31
32
<!-- intro-end-->
32
33
</div >
Original file line number Diff line number Diff line change
1
+ # Theme
2
+
3
+ ` cmd2 ` provides the ability to configure an overall theme for your application using the
4
+ [ cmd2.rich_utils.set_theme] [ ] function. This is based o the
5
+ [ rich.theme] ( https://rich.readthedocs.io/en/stable/reference/theme.html ) container for style
6
+ information. You can use this to brand your application and set an overall consistent look and feel
7
+ that is appealing to your user base.
8
+
9
+ See [ rich_theme.py] ( https://github.com/python-cmd2/cmd2/blob/main/examples/rich_theme.py ) for a
10
+ simple example of configuring a custom theme for your ` cmd2 ` application.
Original file line number Diff line number Diff line change 186
186
- features/shortcuts_aliases_macros.md
187
187
- features/startup_commands.md
188
188
- features/table_creation.md
189
+ - features/theme.md
189
190
- features/transcripts.md
190
191
- Examples :
191
192
- examples/index.md
You can’t perform that action at this time.
0 commit comments