Border Color / Dim #698
appinteractive
started this conversation in
General
Replies: 1 comment
-
I just found out that you can already do this, it's a bit inelegant, but it works. const chars = {
top: colors.dim("─"),
topMid: colors.dim("┬"),
topLeft: colors.dim("┌"),
topRight: colors.dim("┐"),
bottom: colors.dim("─"),
bottomMid: colors.dim("┴"),
bottomLeft: colors.dim("└"),
bottomRight: colors.dim("┘"),
left: colors.dim("│"),
leftMid: colors.dim("├"),
mid: colors.dim("─"),
midMid: colors.dim("┼"),
right: colors.dim("│"),
rightMid: colors.dim("┤"),
middle: colors.dim("│"),
};
// ...
table.chars(chars).border().render(); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey, is there a possibility to dim or color the border sides? I would like to de-emphasize the border to focus more on the content. A optional color parameter on the
.border()
would be nice. What do you think?Beta Was this translation helpful? Give feedback.
All reactions