Skip to content

chore: version packages - #92

Merged
tenphi merged 1 commit into
mainfrom
changeset-release/main
Aug 14, 2026
Merged

chore: version packages#92
tenphi merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@tenphi/glaze@1.5.0

Minor Changes

  • #91 5bf6195 Thanks @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.

@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 6c6c74f to ba521be Compare August 14, 2026 09:35
@tenphi
tenphi merged commit 2b503ae into main Aug 14, 2026
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