Update Modifiers section to match the new TS definitions

This commit is contained in:
George Gkasdrogkas 2018-10-28 10:46:22 +02:00
parent 0ac6f47334
commit dea3c2d5b7
No known key found for this signature in database
GPG key ID: 3FCA70FC54D4293F

View file

@ -166,15 +166,17 @@ Explicit 256/Truecolor mode can be enabled using the `--color=256` and `--color=
### Modifiers ### Modifiers
- `reset` | Modifier | Definition |
- `bold` | --- | --- |
- `dim` | `reset` | Resets the current color chain. |
- `italic` *(Not widely supported)* | `bold` | Make text bold. |
- `underline` | `dim` | Emitting only a small amount of light. |
- `inverse` | `italic` | Make text italic. *(Not widely supported)* |
- `hidden` | `underline` | Make text underline. *(Not widely supported)* |
- `strikethrough` *(Not widely supported)* | `inverse` | Inverse background and foreground colors. |
- `visible` (Text is emitted only if enabled) | `hidden` | Prints the text, but makes it invisible. |
| `strikethrough` | [https://en.wikipedia.org/wiki/Strikethrough](https://en.wikipedia.org/wiki/Strikethrough) |
| `visible` | Prints the text only when Chalk is enabled. Can be useful for things that are purely cosmetic. |
### Colors ### Colors