Skip to content

release: update packages - #75

Merged
Hebilicious merged 1 commit into
mainfrom
changeset-release/main
Sep 30, 2026
Merged

Hebilicious 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

@hebilicious/cssforge@0.9.0

Minor Changes

  • 2561cc8: Generate palette colors in extra sRGB formats alongside oklch(), so a browser without
    oklch() support still renders them and non-CSS consumers read the value they need.

    settings.color.formats selects the formats and outputs: hex produces "#ff7f50",
    "ff7f50" and 0xff7f50, rgb produces "rgb(255 127 80)" and [255, 127, 80], and a
    format set to true produces its CSS value only. Each format takes alpha: true keeps the
    color's alpha, a number from 0 to 1 sets it, false rejects the color.

    settings.color.fallback names the format whose string value becomes the declaration for
    browsers without oklch() support, emitted after the root block inside
    @supports not (color: oklch(0% 0 0)) and mirroring the color's atRule and selector.
    Without it, the first format that produces a CSS value is used, and false declares nothing.

    A palette color's settings override the palette's per setting, and its formats merge per
    format with false to remove one. The color settings are a closed schema: unknown keys, a
    formats that is not an object, and color format settings on a gradient, a theme, or a level
    that reads no settings throw with the configuration path. The settings types are exported
    from the package entry.

    Tokens gain a color object keyed by format and output, plus gamutMapped: true when a
    format is generated for a color outside sRGB, mirrored by attributes.color, $color and
    $gamutMapped in Style Dictionary. cssforge --color-formats hex,rgb adds formats for a run.

Patch Changes

  • 2561cc8: Reject unknown, misplaced, and wrongly shaped settings in every module, not just in colors.

    A setting no schema accepts generated nothing quietly: a misspelled key was ignored, a
    settings on a primitive group or a gradient variant did nothing, and a settings that was
    not an object silently disabled the px-to-rem conversion, so 8px was emitted where 0.5rem
    was meant. Spacing, typography, primitives, gradients and themes now report the configuration
    path, the unknown key, and the keys the level accepts. The settings fields no module reads
    are gone from Primitive and the gradient variant type.

@hebilicious/cssforge-unplugin@0.1.1

Patch Changes

  • Updated dependencies [2561cc8]
  • Updated dependencies [2561cc8]
    • @hebilicious/cssforge@0.9.0

@Hebilicious
Hebilicious merged commit 09191a9 into main Sep 30, 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