Skip to content

v1.0.0

Compare
Choose a tag to compare
@ricokahler ricokahler released this 20 Jul 05:28

Welcome to stable

Unfortunately due to the difficulties of SSR compatibility (i.e. the lack of conditional import support in sandboxed SSR environments) this lib has dropped getComputedStyle support in favor of a pure JS implementation. This unfortunately increases bundle size but we've ensured this package is still the smallest of its kind (2.7kB now).

However, the benefit of parsing colors in JS is stability, so…

Here's 1.0 🎉

No dependencies and no browser limitations. Use anywhere.