release: update packages - #75
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 withoutoklch()support still renders them and non-CSS consumers read the value they need.settings.color.formatsselects the formats and outputs:hexproduces"#ff7f50","ff7f50"and0xff7f50,rgbproduces"rgb(255 127 80)"and[255, 127, 80], and aformat set to
trueproduces its CSS value only. Each format takesalpha:truekeeps thecolor's alpha, a number from 0 to 1 sets it,
falserejects the color.settings.color.fallbacknames the format whosestringvalue becomes the declaration forbrowsers without
oklch()support, emitted after the root block inside@supports not (color: oklch(0% 0 0))and mirroring the color'satRuleandselector.Without it, the first format that produces a CSS value is used, and
falsedeclares nothing.A palette color's settings override the palette's per setting, and its
formatsmerge performat with
falseto remove one. The color settings are a closed schema: unknown keys, aformatsthat is not an object, and color format settings on a gradient, a theme, or a levelthat reads no settings throw with the configuration path. The settings types are exported
from the package entry.
Tokens gain a
colorobject keyed by format and output, plusgamutMapped: truewhen aformat is generated for a color outside sRGB, mirrored by
attributes.color,$colorand$gamutMappedin Style Dictionary.cssforge --color-formats hex,rgbadds 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
settingson a primitive group or a gradient variant did nothing, and asettingsthat wasnot an object silently disabled the px-to-rem conversion, so
8pxwas emitted where0.5remwas meant. Spacing, typography, primitives, gradients and themes now report the configuration
path, the unknown key, and the keys the level accepts. The
settingsfields no module readsare gone from
Primitiveand the gradient variant type.@hebilicious/cssforge-unplugin@0.1.1
Patch Changes