[PR #275] [MERGED] renderer.getPalette to fetch the terminal color palette if supported #415

Closed
opened 2026-03-02 23:46:24 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/anomalyco/opentui/pull/275
Author: @kommander
Created: 11/6/2025
Status: Merged
Merged: 11/7/2025
Merged by: @kommander

Base: mainHead: get-palette


📝 Commits (10+)

📊 Changes

9 files changed (+2524 additions, -0 deletions)

View changed files

📝 packages/core/src/examples/index.ts (+7 -0)
packages/core/src/examples/lib/HexList.ts (+122 -0)
packages/core/src/examples/lib/PaletteGrid.ts (+125 -0)
packages/core/src/examples/terminal.ts (+305 -0)
📝 packages/core/src/lib/index.ts (+1 -0)
packages/core/src/lib/terminal-palette.test.ts (+915 -0)
packages/core/src/lib/terminal-palette.ts (+324 -0)
📝 packages/core/src/renderer.ts (+65 -0)
packages/core/src/tests/renderer.palette.test.ts (+660 -0)

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/anomalyco/opentui/pull/275 **Author:** [@kommander](https://github.com/kommander) **Created:** 11/6/2025 **Status:** ✅ Merged **Merged:** 11/7/2025 **Merged by:** [@kommander](https://github.com/kommander) **Base:** `main` ← **Head:** `get-palette` --- ### 📝 Commits (10+) - [`5a4f5af`](https://github.com/anomalyco/opentui/commit/5a4f5af00cec3c3f15ec049aa47368a49f5f13de) stash - [`b917815`](https://github.com/anomalyco/opentui/commit/b9178150c99d602e1550727786b8598c7e4f9269) stash - [`0963149`](https://github.com/anomalyco/opentui/commit/096314920de2fd01cf5ad79892f10002b1266cec) stash - [`f352687`](https://github.com/anomalyco/opentui/commit/f352687038d1a51bfbf16f286e1cb8a1d15f6359) initial - [`0862e00`](https://github.com/anomalyco/opentui/commit/0862e00bc7d9a6cf4516cb92e916153b171527d0) refactor - [`6b33a96`](https://github.com/anomalyco/opentui/commit/6b33a960727f12330c12ede717b14625ff204b4f) cover - [`560380e`](https://github.com/anomalyco/opentui/commit/560380e1fca55a177b82cc08ccb62390ced53afe) remove dev scripts - [`f3f912e`](https://github.com/anomalyco/opentui/commit/f3f912e77070fa9b67e16b281a8f0067c1d85149) cached - [`f878f10`](https://github.com/anomalyco/opentui/commit/f878f10131dcda255910014de14d168719a98e4c) harden - [`b62b65f`](https://github.com/anomalyco/opentui/commit/b62b65f60417d5de4cdd4ce37fb9044661ef2722) refine ### 📊 Changes **9 files changed** (+2524 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `packages/core/src/examples/index.ts` (+7 -0) ➕ `packages/core/src/examples/lib/HexList.ts` (+122 -0) ➕ `packages/core/src/examples/lib/PaletteGrid.ts` (+125 -0) ➕ `packages/core/src/examples/terminal.ts` (+305 -0) 📝 `packages/core/src/lib/index.ts` (+1 -0) ➕ `packages/core/src/lib/terminal-palette.test.ts` (+915 -0) ➕ `packages/core/src/lib/terminal-palette.ts` (+324 -0) 📝 `packages/core/src/renderer.ts` (+65 -0) ➕ `packages/core/src/tests/renderer.palette.test.ts` (+660 -0) </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 23:46:24 +03:00
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#415
No description provided.