Skip to content

Commit c37b011

Browse files
committed
docs(config): update doc for prompt style
1 parent 6e2ed75 commit c37b011

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

docs/config.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,18 @@ Add an entry to `pyproject.toml`. Recommended for **python** projects.
1313
"src/__version__.py",
1414
"pyproject.toml:version"
1515
]
16+
style = [
17+
["qmark", "fg:#673ab7 bold"],
18+
["question", "bold"],
19+
["answer", "fg:#f44336 bold"],
20+
["pointer", "fg:#673ab7 bold"],
21+
["highlighted", "fg:#673ab7 bold"],
22+
["selected", "fg:#cc5454"],
23+
["separator", "fg:#cc5454"],
24+
["instruction", ""],
25+
["text", ""],
26+
["disabled", "fg:#858585 italic"]
27+
]
1628

1729
## INI files
1830

@@ -28,6 +40,18 @@ Recommended for **other languages** projects (js, go, etc).
2840
"src/__version__.py",
2941
"pyproject.toml:version"
3042
]
43+
style = [
44+
["qmark", "fg:#673ab7 bold"],
45+
["question", "bold"],
46+
["answer", "fg:#f44336 bold"],
47+
["pointer", "reverse"],
48+
["highlighted", "fg:#673ab7 bold"],
49+
["selected", "fg:#cc5454"],
50+
["separator", "fg:#cc5454"],
51+
["instruction", ""],
52+
["text", ""],
53+
["disabled", "fg:#858585 italic"]
54+
]
3155

3256
The extra tab before the square brakets (`]`) at the end is required.
3357

@@ -40,3 +64,4 @@ The extra tab before the square brakets (`]`) at the end is required.
4064
| `files` | `list` | `[ ]` | Files were the version will be updated. A pattern to match a line, can also be specified, separated by `:` [See more](https://woile.github.io/commitizen/bump#files) |
4165
| `tag_format` | `str` | `None` | Format for the git tag, useful for old projects, that use a convention like `"v1.2.1"`. [See more](https://woile.github.io/commitizen/bump#tag_format) |
4266
| `bump_message` | `str` | `None` | Create custom commit message, useful to skip ci. [See more](https://woile.github.io/commitizen/bump#bump_message) |
67+
| `style` | `list` | see above | Style for the prompts [See More (Styling your prompts with your favorite colors)](https://github.com/tmbo/questionary#additional-features) |

0 commit comments

Comments
 (0)