-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-Authored-By: Matt Hughes <221921+mch@users.noreply.github.com>
- Loading branch information
Showing
3 changed files
with
35 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
import chalk from "chalk"; | ||
import { gray, green, red, yellow } from "ansi-colors"; | ||
|
||
export function yellowText(text: string): string { | ||
return chalk.yellow(text); | ||
return yellow(text); | ||
} | ||
|
||
export function redText(text: string): string { | ||
return chalk.red(text); | ||
return red(text); | ||
} | ||
export function greenText(text: string): string { | ||
return chalk.green(text); | ||
return green(text); | ||
} | ||
export function grayText(text: string): string { | ||
return chalk.gray(text); | ||
return gray(text); | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters