How to use the terminal-kit.terminal.yellow function in terminal-kit

To help you get started, we’ve selected a few terminal-kit examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github SamsungInternet / OneUI-Web / tests / index.js View on Github external
});
      })
      .catch(e => ({
        error: e.message
      }));
    });
    await page.close();

    if (results.error) {
      throw Error(results.error);
    }

    //violations, passes, incomplete, inapplicable

    if (results.violations.length) {
      term.yellow((url || 'Docsify Index Page') + '\n');
    } else {
      term.green('✅ ' + (url || 'Docsify Index Page') + '\n');
    }

    for (const violation of results.violations) {
      hasViolations = true;
      term.bold(violation.description + '\n');
      for (const node of violation.nodes) {
        term[colorMap[node.impact] || 'green'](
          (node.impact === 'critical' ?'!!':'•') + ' ' + node.impact
        );
        term(' ' + node.html + '\n');
      }
      console.log('\n');
    }
  }
github alarner / config-template / index.js View on Github external
term.cyan(line.value);
						break;
						case 'boolean':
							term.magenta(line.value);
						break;
						case 'json':
							term.colorRgb(150, 200, 255, line.value);
						break;
						default:
							term(line.value);
						break;
					}
					
				}
				else if(line.empty) {
					term.yellow('""');
				}
				else if(line.deleted) {
					term.italic.colorRgb(50, 50, 50, '- removed -');
				}
				else {
					term.colorRgb(50, 50, 50, '______');
				}
				term(',');
			});
		}
github Bearer / bearer-js / packages / legacy-cli / src / lib / cliOutput.ts View on Github external
emitter.on('start:watchers', () => {
    term.yellow('Starting watchers')
    term('\n')
  })
github Bearer / bearer-js / packages / legacy-cli / src / lib / cliOutput.ts View on Github external
emitter.on('start:localServer:customPort', ({ port, host }) => {
    term('*************** Action required *****************\n')
    term.red('[local:functionServer] You have specified a custom port.\n')
    term.yellow('You must update the views/index.html to match this setting as follow:\n\n')
    term(`\n\n`)
    term('*************************************************\n')
  })