From ba521be916e40653047e50bb5380c8bc34d7a77c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 14 Aug 2026 09:35:33 +0000 Subject: [PATCH] chore: version packages --- .changeset/quiet-pugs-remember.md | 29 ----------------------------- CHANGELOG.md | 29 +++++++++++++++++++++++++++++ package.json | 2 +- 3 files changed, 30 insertions(+), 30 deletions(-) delete mode 100644 .changeset/quiet-pugs-remember.md diff --git a/.changeset/quiet-pugs-remember.md b/.changeset/quiet-pugs-remember.md deleted file mode 100644 index 19d1c50..0000000 --- a/.changeset/quiet-pugs-remember.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -'@tenphi/glaze': minor ---- - -A manual `contrastLevel` no longer suppresses high-contrast output. - -The level now does one thing: it positions the **normal** `light` / `dark` -variants on the 0–100 slider. The high-contrast tier stays the true -high-contrast resolution — bit-identical to what `'auto'` resolves — at every -level, and `modes.highContrast` alone decides whether it is emitted. The two -compose: a slider raises the baseline while a `prefers-contrast: more` block -still escalates on top of it. - -Most visible in `css()`, which has no `modes` option and always returns four -strings: at a mid level its `lightContrast` / `darkContrast` blocks now carry -genuinely escalated values where they previously repeated the normal -declarations. - -Two consequences of the corrected model: - -- `contrastLevel: 0` now reproduces `'auto'` output exactly, high-contrast tier - included. It no longer implies "no high-contrast tier" — that is - `modes.highContrast: false`, still the default. -- At a global `contrastLevel: 100` the normal variants already *are* the - high-contrast ones, so a separate tier would duplicate them: a single - light/dark set is emitted, even against an explicit `modes.highContrast: true`. - -Also fixes the side-stability probe leaking into the high-contrast passes, which -made a mid-level high-contrast variant diverge from its `'auto'` counterpart. diff --git a/CHANGELOG.md b/CHANGELOG.md index a771fbd..80f0794 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,34 @@ # @tenphi/glaze +## 1.5.0 + +### Minor Changes + +- [#91](https://github.com/tenphi/glaze/pull/91) [`5bf6195`](https://github.com/tenphi/glaze/commit/5bf61957360b389741b40f827555e6812a4bd743) Thanks [@tenphi](https://github.com/tenphi)! - A manual `contrastLevel` no longer suppresses high-contrast output. + + The level now does one thing: it positions the **normal** `light` / `dark` + variants on the 0–100 slider. The high-contrast tier stays the true + high-contrast resolution — bit-identical to what `'auto'` resolves — at every + level, and `modes.highContrast` alone decides whether it is emitted. The two + compose: a slider raises the baseline while a `prefers-contrast: more` block + still escalates on top of it. + + Most visible in `css()`, which has no `modes` option and always returns four + strings: at a mid level its `lightContrast` / `darkContrast` blocks now carry + genuinely escalated values where they previously repeated the normal + declarations. + + Two consequences of the corrected model: + - `contrastLevel: 0` now reproduces `'auto'` output exactly, high-contrast tier + included. It no longer implies "no high-contrast tier" — that is + `modes.highContrast: false`, still the default. + - At a global `contrastLevel: 100` the normal variants already _are_ the + high-contrast ones, so a separate tier would duplicate them: a single + light/dark set is emitted, even against an explicit `modes.highContrast: true`. + + Also fixes the side-stability probe leaking into the high-contrast passes, which + made a mid-level high-contrast variant diverge from its `'auto'` counterpart. + ## 1.4.0 ### Minor Changes diff --git a/package.json b/package.json index 7d149f0..7e1c5af 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@tenphi/glaze", - "version": "1.4.0", + "version": "1.5.0", "description": "OKHST-based color theme generator with WCAG contrast solving for light, dark, and high-contrast schemes", "type": "module", "main": "./dist/index.cjs",