Skip to content

Conversation

@seongminn
Copy link

Added a color utility to enable type-safe usage of the CSS color-mix() function. It provides a chaining API consistent with the existing calc utility.

Key Changes

  • Supports all standard Color Spaces (e.g., srgb, oklch, lab, hsl).
  • Supports Hue Interpolation Methods (shorter, longer, increasing, decreasing).
  • Adopts a chaining pattern and factory structure similar to calc.
  • Generates valid color-mix() syntax strings.

@changeset-bot
Copy link

changeset-bot bot commented Nov 19, 2025

🦋 Changeset detected

Latest commit: 404760a

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@vanilla-extract/css-utils Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

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