Skip to content

[codex] PHO-20/#40 add OKLab ANSI color map#46

Merged
wow-miley merged 1 commit into
mainfrom
miley/pho-20-ansicolormap-oklab-to-terminal-color-escape-sequences
May 25, 2026
Merged

[codex] PHO-20/#40 add OKLab ANSI color map#46
wow-miley merged 1 commit into
mainfrom
miley/pho-20-ansicolormap-oklab-to-terminal-color-escape-sequences

Conversation

@wow-miley
Copy link
Copy Markdown
Contributor

Implements PHO-20 / GitHub #40 by adding AnsiColorMap for OKLab foreground/background escapes in ANSI 256 and truecolor modes.

The palette table is shared with the existing neutral-color ANSI adapter, and TRUECOLOR is now the public enum spelling with deprecated TRUE_COLOR compatibility.

Tests cover gamma round-trip, palette boundaries, primary colors, grayscale quantization, truecolor output, and Lumos atmosphere hues.

Validation: ./gradlew ktlintFormat; ./gradlew jvmTest.

Closes #40

@wow-miley wow-miley marked this pull request as ready for review May 25, 2026 21:38
@wow-miley wow-miley merged commit 2a8b486 into main May 25, 2026
3 checks passed
@wow-miley wow-miley deleted the miley/pho-20-ansicolormap-oklab-to-terminal-color-escape-sequences branch May 25, 2026 22:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AnsiColorMap — OKLab to terminal color escape sequences

2 participants