This commit is contained in:
LitoMore 2022-10-04 13:31:53 +08:00
parent 7c3fa8d0d5
commit 195f7baad7
No known key found for this signature in database
GPG key ID: B8653F9344667340
3 changed files with 9 additions and 3 deletions

View file

@ -201,6 +201,10 @@ Explicit 256/Truecolor mode can be enabled using the `--color=256` and `--color=
`chalkStderr` contains a separate instance configured with color support detected for `stderr` stream instead of `stdout`. Override rules from `supportsColor` apply to this too. `supportsColorStderr` is exposed for convenience.
### modifiers, foregroundColors, backgroundColors and colors
All supported style strings are exposed for convenience. `colors` is the combination of `foregroundColors` and `backgroundColors`.
## Styles
### Modifiers