Skip to content

v1.0.0

Latest

Choose a tag to compare

@GuiEpi GuiEpi released this 04 Aug 07:33
  • ✨ Add normalizeColor utility and support multiple formats for defaultColor prop
  • ✨ Add support for cursor text color customization

⚠️ Breaking Changes

Migration Guide - v0.2.4 to v1.0.0

🎨 CSS Variable Format Changes

The CSS variable format for cursor colors has been updated to use complete CSS color values instead of raw color components.

Before (v0.2.4):

:root {
  --cursor-color: 349, 80%, 59%; /* Raw HSL components */
}

After (v1.0.0):

:root {
  --cursor-color: hsl(349, 80%, 59%); /* Complete HSL color */
}

Quick Migration Script

You can use this regex to quickly find and replace color values in your CSS files:

Find: --cursor-color:\s*(\d+),\s*(\d+%),\s*(\d+%);

Replace: --cursor-color: hsl($1, $2, $3);