Skip to content

feat: standardise colors for printing to console#291

Merged
craicoverflow merged 1 commit intomainfrom
colors
Jan 26, 2021
Merged

feat: standardise colors for printing to console#291
craicoverflow merged 1 commit intomainfrom
colors

Conversation

@craicoverflow
Copy link
Contributor

Closes #290

This PR adds purpose-oriented functions to highlight a string in a color.

CodeSnippet - prints the string in high contrast magenta. Useful for highlighting code or commands.

image

Info - general purpose information highlighting in high-contract cyan.

image

Success - (green) used to highlight a success message

image

Error - (red) used to highlight an error

image

@craicoverflow craicoverflow requested a review from wtrocki January 26, 2021 13:06
@craicoverflow craicoverflow merged commit 2c7f7f0 into main Jan 26, 2021
@craicoverflow craicoverflow deleted the colors branch January 26, 2021 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Standardise colors used when printing

2 participants