forked from orbit-oss/chalk
parent
503b9d35cd
commit
ba5c385ecf
3 changed files with 11 additions and 2 deletions
|
|
@ -6,7 +6,16 @@ import chalk from '../source/index.js';
|
|||
for (const key of Object.keys(styles)) {
|
||||
let returnValue = key;
|
||||
|
||||
if (key === 'reset' || key === 'hidden' || key === 'grey') {
|
||||
// We skip `overline` as almost no terminal supports it so we cannot show it off.
|
||||
if (
|
||||
key === 'reset'
|
||||
|| key === 'hidden'
|
||||
|| key === 'grey'
|
||||
|| key === 'bgGray'
|
||||
|| key === 'bgGrey'
|
||||
|| key === 'overline'
|
||||
|| key.endsWith('Bright')
|
||||
) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
|
|||
BIN
media/screenshot.png
Normal file
BIN
media/screenshot.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 235 KiB |
|
|
@ -15,7 +15,7 @@
|
|||
[](https://repl.it/github/chalk/chalk)
|
||||
[](https://stakes.social/0x44d871aebF0126Bf646753E2C976Aa7e68A66c15)
|
||||
|
||||
<img src="https://cdn.jsdelivr.net/gh/chalk/ansi-styles@8261697c95bf34b6c7767e2cbe9941a851d59385/screenshot.svg" width="900">
|
||||

|
||||
|
||||
<br>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue