Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new methods to toolbox.print (highlight and muted) (Fixes #726) #731

Conversation

kathawala
Copy link
Contributor

A few of the colors in toolbox.print.colors are left out of the docs and also don't have any print function associated to them:

  • highlight
  • muted

This PR adds documentation about those colors and adds functions for them so one can do

toolbox.print.highlight('important text')

the same way it's currently possible to do

toolbox.print.success('important text')

This was asked for in #726 and I myself wrote a quick utility to help print those functions, so I thought it might be worth adding those function here directly.

…ing with those colors more easily. Added missing docs on these colors as well
Copy link
Member

@jamonholmgren jamonholmgren left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great! I don't think the test failure is your problem.

@jamonholmgren jamonholmgren merged commit 1dc0391 into infinitered:master Jan 20, 2021
infinitered-circleci pushed a commit that referenced this pull request Jan 20, 2021
# [4.6.0](v4.5.0...v4.6.0) (2021-01-20)

### Features

* **print:** add highlight and muted to print toolbox ([#731](#731) by [@kathawala](https://github.com/kathawala)) ([1dc0391](1dc0391))
@infinitered-circleci
Copy link

🎉 This PR is included in version 4.6.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants