Repository navigation
release: update packages - #94
Merged
Merged
Conversation
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| 🔵 In progress View logs |
cssforge | 56e723c | Oct 08 2026, 08:26 AM |
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.10.0
Minor Changes
5d7cdd2: Derive colors with a
mixvalue in palette variants and theme values.{ mix: { from: "palette.accent.base", with: "black", amount: 15 } }emitscolor-mix(in oklch, var(--palette-accent-base), black 15%), so overriding the base re-derives the variant.fromandwithtake a dotted token path, emitted as itsvar()reference, or a CSS color such as"transparent", emitted as written.amountis the percentage ofwith, from 0 to 100.inaccepts only"oklch", the default.formatscomputes its sRGB values by mixing in OKLCH, and an achromatic operand keeps the other color's hue.34a7f87: Pair a light and a dark theme into one
light-dark()token per color withcolors.theme.settings.lightDark: { light: "light", dark: "dark" }, written in thetheme: { value, settings }form.:rootas--theme-<color>-<variant>: light-dark(<light>, <dark>);(or--<variant>withvariantNameOnly), at the token paththeme.<color>.<variant>.var()references andmixvalues are kept.:rootgetscolor-scheme: light dark, and the optionalcolorScheme: { light, dark }selectors each get a rule forcing that scheme.selectororatRuleon a paired theme, avariantNameOnlythat differs between the pair, a paired color named like another theme, and unknown keys are rejected.settingsis now a reserved theme name:theme.settingswritten beside named themes, without thevalueform, is rejected instead of being read as a theme named "settings". Rename such a theme.theme: { value, settings }form, keys other thanvalueandsettings, and settings other thanlightDark, are rejected instead of ignored.lightDarkare unchanged.84ac160: Check fluid type scales for accessibility and report build warnings.
clamp()values are effectively static.settings.minLegibleSize(default12, in px) warns. Set it to another px number, orfalseto turn the floor off.getDiagnostics(config)returns the build warnings as{ code, severity, path, message }, andprocessTypographyreturns them asdiagnostics. The CLI prints each one to stderr ascssforge: warning: <message>and still writes the outputs with exit code0.b2636df: Every fluid type scale is also written with
pow(), beside itsclamp()steps, in every output.clamp()steps keep their names and paths,--typography_fluid-<scale>[-<prefix>]-<label>attypography_fluid.<scale>@<label>. Steps 0 and above are unchanged.powsegment: the inputsmin-width,max-width,min-font-size,max-font-size,min-type-scaleandmax-type-scaleas plain numbers, the helpersprogress,at-minandat-max, and every step derived from them withpow(). They are named--typography_fluid-<scale>[-<prefix>]-pow-<name>and--typography_fluid-<scale>[-<prefix>]-pow-<label>, attypography_fluid.<scale>.pow.<name>andtypography_fluid.<scale>.pow@<label>. Changing an input on:roottunes the whole scale at runtime.pow()needs Chrome 120, Firefox 118 or Safari 15.4.minTypeScale^nat every width, so a small size never shrinks as the screen grows. Its size atmaxWidthismaxFontSize / minTypeScale^ninstead of utopia'smaxFontSize / maxTypeScale^n. This changes theclamp()of negative steps whenminTypeScaleandmaxTypeScalediffer, and the fluid type checks use these sizes, once per step.min-widthorpow-min-width, is a key collision. A step cannot be labelledpow, the segment that holds the pow tokens.relativeTois validated for every scale:"container"writescqi,"viewport"writesvi, and the default"viewport-width"writesvw.f316382: Add a
motionmodule for transition durations and easing curves.motion.duration.<group>.valueandmotion.easing.<group>.valueemit--motion-duration-<group>-<name>and--motion-easing-<group>-<name>, referenced from primitives asmotion.duration.<group>.<name>andmotion.easing.<group>.<name>.msors, and an easing a CSS keyword,cubic-bezier()with x1 and x2 in [0, 1],steps()orlinear(). Anything else fails generation with the token's path.motion-long-duration), or over 500ms in a group withsettings.long: truefor modals and drawers.ease-inand ease-in shapedcubic-bezier()curves warn (motion-ease-in). Both go throughgetDiagnosticsand the CLI'scssforge: warning:output.Patch Changes
f83df72: Fix achromatic color hue representation in oklch() values. When a color has zero chroma (e.g., white, black, gray), emit the hue as
noneinstead of a numeric value. This correctly represents that achromatic colors have no meaningful hue component.oklch(100% 0 none)instead ofoklch(100% 0 0)oklch(0% 0 none)instead ofoklch(0% 0 0)noneb364d08:
pxToRemconverts every top-levelpxlength in a value instead of parsing the whole string as one number."4px 8px"now becomes0.25rem 0.5reminstead of0.25rem, and"0 0 4px"becomes0 0 0.25reminstead of0rem. Values inside CSS functions are left unchanged, so write a pill radius ascalc(infinity * 1px). Border and shadow primitives such as1px solid redor0 2px 4px blacknow convert their px lengths too.@hebilicious/cssforge-unplugin@0.1.2
Patch Changes