arulagarwal · GitHub

and others added 2 commits

July 1, 2026 18:46
…#146)
Follow-up to skiptools#471, which handled the "8-bit Hexadecimal" input method.
Xcode's "8-bit (0-255)" method emits bare integer channels (e.g. "148"),
which fell through to Double("148") = 148.0 and clamped to white. Detect a
bare integer (no decimal point) and normalize it by /255, so all of Xcode's
numeric Input Methods now parse correctly.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…iptools#146)
Adds HexColor / IntColor / FloatColor fixtures (the same #04F188 encoded via
the hexadecimal, 8-bit-0-255, and floating-point input methods) and matching
render tests. They are DISABLED-prefixed because decoding a bundled component
.colorset throws a kotlin-reflect IllegalAccessException under the Robolectric
unit runner (it works on a real device); the parsing algorithm is additionally
covered by a standalone logic harness.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

Closed

marcprux

…ptools#146)
Re-enable the three .colorset render tests (hex, int, float) that were
DISABLED-prefixed. They fail under Robolectric because Bundle.module
colorset decoding falls back to gray, but pass on a real Android
emulator. Guard with isRobolectric + XCTSkip so they run on CI and skip
gracefully locally — matching the existing pattern in the test suite.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

@arulagarwal

marcprux

@marcprux

Read the original on github.com ↗