[GH-ISSUE #73] Support setting of different colors for container's border and title #52

Closed
opened 2026-03-03 16:21:57 +03:00 by kerem · 1 comment
Owner

Originally created by @mum4k on GitHub (Jan 16, 2019).
Original GitHub issue: https://github.com/mum4k/termdash/issues/73

Originally created by @mum4k on GitHub (Jan 16, 2019). Original GitHub issue: https://github.com/mum4k/termdash/issues/73
Author
Owner

@mum4k commented on GitHub (Jan 19, 2019):

Currently the container only has one option BorderColor():
github.com/mum4k/termdash@f72f1c2fa8/container/options.go (L268)

This option sets both color of the border and color of the title text added via the BorderTitle() option:
github.com/mum4k/termdash@f72f1c2fa8/container/options.go (L235)

We could add a new BorderTitleColor() option to set the color of the title independently from the border color.

<!-- gh-comment-id:455791391 --> @mum4k commented on GitHub (Jan 19, 2019): Currently the container only has one option BorderColor(): https://github.com/mum4k/termdash/blob/f72f1c2fa8f91e7866db6ae93ae721b357075c2d/container/options.go#L268 This option sets both color of the border and color of the title text added via the BorderTitle() option: https://github.com/mum4k/termdash/blob/f72f1c2fa8f91e7866db6ae93ae721b357075c2d/container/options.go#L235 We could add a new BorderTitleColor() option to set the color of the title independently from the border color.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/termdash#52
No description provided.