-
Notifications
You must be signed in to change notification settings - Fork 147
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
New colors theme method and improved colors theme docs #726
Comments
Just submitted a PR which does what I think you want (instead of |
@kathawala not quite what I was after. I can already access the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey, a couple of quick suggestions I'm happy to submit a PR for if you're interested:
command
which points tomagenta
I like to use a distinct and consistent color when telling the user they can use another command to help with something (e.g. from my CLI
`This action requires a logged in user. Run ${magenta(`${brand} login`)} to log in.`
). Currently the default command prints`Type ${magenta(`${brand} --help`)} to view common commands.`
so I thinkmagenta
is a good candidate for this.Currently the docs don't document the following theme methods:
highlight
line
I especially wanted to use the same consistent highlight color as the default commands, and had been using
cyan
until I was snooping through the source and discovered thehighlight
method. I think it would be useful to expose all of them.The text was updated successfully, but these errors were encountered: