diff --git a/examples/screenshot.js b/examples/screenshot.js index 6f66b77..9ad164b 100644 --- a/examples/screenshot.js +++ b/examples/screenshot.js @@ -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; } diff --git a/media/screenshot.png b/media/screenshot.png new file mode 100644 index 0000000..da9d89b Binary files /dev/null and b/media/screenshot.png differ diff --git a/readme.md b/readme.md index b57510e..2f41876 100644 --- a/readme.md +++ b/readme.md @@ -15,7 +15,7 @@ [![run on repl.it](https://img.shields.io/badge/Run_on_Replit-130f26?logo=replit&logoColor=white)](https://repl.it/github/chalk/chalk) [![Support Chalk on DEV](https://badge.devprotocol.xyz/0x44d871aebF0126Bf646753E2C976Aa7e68A66c15/descriptive)](https://stakes.social/0x44d871aebF0126Bf646753E2C976Aa7e68A66c15) - +![](media/screenshot.png)