Skip to content

Release v0.1.3#8

Merged
slowdini merged 7 commits into
mainfrom
dev
Jun 23, 2026
Merged

Release v0.1.3#8
slowdini merged 7 commits into
mainfrom
dev

Conversation

@slowdini

Copy link
Copy Markdown
Owner

Release notes

Replace this paragraph with a short narrative for the release. If left unchanged, GitHub's auto-generated notes will be used instead.

slowdini and others added 7 commits June 21, 2026 18:26
feat(docs): add sample image generator + readme links
Terminal ANSI colors were resolved straight from the palette with no
readability adjustment. On the near-white light backgrounds this left
the chromatic colors illegible (yellow ~1.6:1, cyan ~1.7:1, green
~2.1:1, ...). The "bright" variants were worse: brightHex always
*lightened*, which improves contrast on a dark background but pushes
colors toward a light one.

Add WCAG contrast utilities (relativeLuminance, contrastRatio,
ensureContrast) to colorUtils and apply a 3:1 contrast floor to the
chromatic ANSI text colors across all four terminal targets (wezterm,
vscode, zed, neovim). ensureContrast nudges only lightness, preserving
hue/saturation, and is a no-op when a color already passes -- so dark
themes are byte-for-byte unchanged. "Bright" is now direction-aware:
lighter on dark backgrounds, darker on light ones.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
fix(terminal): floor ANSI colors to 3:1 contrast on light themes
@slowdini slowdini merged commit b16b34e into main Jun 23, 2026
1 check passed
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.

1 participant