You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This isn't well documented because of how the documentation is generated (without color). The documentation shows removing the default grey border, but doesn't show setting a color.
Activity
speedytwenty commentedon Aug 25, 2024
Try something like:
Produces:

This isn't well documented because of how the documentation is generated (without color). The documentation shows removing the default
greyborder, but doesn't show setting a color.speedytwenty commentedon Aug 25, 2024
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
0xJWLabs commentedon Aug 26, 2024
@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
feat: Add support truecolor, cli-table#352
webdiscus commentedon Feb 9, 2025
Hello @0xJWLabs,
I'm the author of ansis.
In the #354 PR I have added the support for hex code to allow using a truecolor in a table.
The proposal for new syntax:
feat: Add support truecolor (#354)