Release Colour Tools 0.2.0
Verify / verify (push) Canceled after 0s

This commit is contained in:
2026-09-02 07:11:11 +02:00
parent 0c1fc94b58
commit ed030cada6
34 changed files with 1446 additions and 74 deletions
+13 -3
View File
@@ -24,7 +24,8 @@ has no analytics, accounts, advertisements or remote lookup feature.
- **Steps** builds multi-stop colour ramps in perceptual, RGB or cylindrical
colour spaces. It supports positioned stops, five hue routes, easing,
premultiplied-alpha interpolation by default with a straight-alpha option,
and copy-ready CSS and JSON output.
and a linear/radial/conic/repeating gradient editor with copy/download CSS
and a versioned JSON recipe.
- **Pick** provides a large keyboard- and pointer-operable HSV picker, alpha
control, exact CSS entry, browser-native colour input, recent picks and the
system EyeDropper API where the browser exposes it.
@@ -38,7 +39,9 @@ has no analytics, accounts, advertisements or remote lookup feature.
colour-vision deficiencies.
- **Palette** creates OKLCH harmonies, tints, shades and tones; keeps a named
palette in local browser storage; imports common text/JSON token forms; and
exports CSS, SCSS, JSON, Design Tokens JSON, JavaScript or CSV.
imports/exports DTCG 2025.10 structured colour tokens and local aliases;
displays a bounded directional WCAG contrast matrix; and exports CSS, SCSS,
JSON, Design Tokens JSON, JavaScript or CSV.
Adding a generated or sampled colour to the palette is always explicit. The
saved palette is device-local and can be cleared from the Palette workspace or
@@ -58,6 +61,13 @@ large text, 4.5:1 for normal AA text and 7:1 for normal AAA text. They are an
engineering aid, not a complete accessibility audit; typography, state,
context and non-colour cues still need human review.
DTCG import requires an explicit, inherited or reference-resolved `$type` and
does not guess token types. Supported colour-space components are validated
against the 2025.10 ranges; `none` components are reported as unsupported
because the current internal colour model is numeric. Imports are bounded to
2 MiB, 10,000 tokens and 32 group levels. Exact duplicate saved values are
reported and not added twice.
## Local image handling
Selecting an image decodes a bounded raster locally with `createImageBitmap`
@@ -117,7 +127,7 @@ npm run release:artifact
This command checks the manifest, types, lint, formatting, unit tests,
production build, Toolbox contract and browser workflows, then creates a
deterministic `release/colour-tools-0.1.0.zip` and matching SHA-256 sidecar.
deterministic `release/colour-tools-0.2.0.zip` and matching SHA-256 sidecar.
The archive is a ready-to-host static application and contains project and
third-party licence notices.