-
Notifications
You must be signed in to change notification settings - Fork 45
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
Border Color #352
Comments
Try something like: const Table = require('cli-table3');
const table = new Table({ style: { border: ['blue'] } });
table.push(['foo']);
console.log(table.toString()); This isn't well documented because of how the documentation is generated (without color). The documentation shows removing the default |
I apologize, I overlooked this part of your question. I see now that setting a hex color does not work. I don't see an obvious way. It would require customizing the "border chars" somewhat like: https://github.com/cli-table/cli-table3/blob/master/basic-usage.md#stylize-the-table-with-custom-border-characters |
@speedytwenty I think using chalk or ansis isn’t really a good way right? since i saw there’s somehow a leftover of the ansi like let’s say ————;30;60m |
Is there a way to change border color using hex? Thanks!
The text was updated successfully, but these errors were encountered: