[GH-ISSUE #325] How to use the colors of the terminal? #79

Closed
opened 2026-03-02 23:44:23 +03:00 by kerem · 2 comments
Owner

Originally created by @vdawg-git on GitHub (Nov 18, 2025).
Original GitHub issue: https://github.com/anomalyco/opentui/issues/325

For example I want some text to be red which follows the users terminal colors.
The idea is that the app follows the users theme.

Originally created by @vdawg-git on GitHub (Nov 18, 2025). Original GitHub issue: https://github.com/anomalyco/opentui/issues/325 For example I want some text to be `red` which follows the users terminal colors. The idea is that the app follows the users theme.
kerem closed this issue 2026-03-02 23:44:24 +03:00
Author
Owner

@kommander commented on GitHub (Nov 18, 2025):

There is renderer.getPalette which should give you the system palette in most terminals, not in tmux currently though.

<!-- gh-comment-id:3549908835 --> @kommander commented on GitHub (Nov 18, 2025): There is `renderer.getPalette` which should give you the system palette in most terminals, not in tmux currently though.
Author
Owner

@vdawg-git commented on GitHub (Nov 19, 2025):

I see, thank you :)

<!-- gh-comment-id:3551846615 --> @vdawg-git commented on GitHub (Nov 19, 2025): I see, thank you :)
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/opentui#79
No description provided.