Update screenshot

Fixes #554
This commit is contained in:
Sindre Sorhus 2022-07-03 00:36:34 +02:00
parent 503b9d35cd
commit ba5c385ecf
3 changed files with 11 additions and 2 deletions

View file

@ -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;
}