UNPKG

@terrazzo/use-color

Version:

React hook for memoizing and transforming any web-compatible color. Uses Culori.

38 lines (21 loc) 1.64 kB
# @terrazzo/use-color ## 0.1.4 ### Patch Changes - [#516](https://github.com/terrazzoapp/terrazzo/pull/516) [`652c1d1`](https://github.com/terrazzoapp/terrazzo/commit/652c1d173838439d9197853daa254b22cfe041b4) Thanks [@drwpow](https://github.com/drwpow)! - Update React, fix install instructions ## 0.1.3 ### Patch Changes - [#510](https://github.com/terrazzoapp/terrazzo/pull/510) [`4493731`](https://github.com/terrazzoapp/terrazzo/commit/4493731a4d458af45a1bb4c56e3fe0d42d66aeef) Thanks [@drwpow](https://github.com/drwpow)! - Reduce decimal places in color output. - [plugin-css] ⚠️ Minor breaking change: decimals have been simplified in output. To restore original behavior, pass in `colorDepth: 'unlimited'` - Updated dependencies [[`4493731`](https://github.com/terrazzoapp/terrazzo/commit/4493731a4d458af45a1bb4c56e3fe0d42d66aeef)]: - @terrazzo/token-tools@0.10.1 ## 0.1.2 ### Patch Changes - Updated dependencies [[`0060100`](https://github.com/terrazzoapp/terrazzo/commit/00601002a731dc009fb4ef2b438a01b087325a1a), [`0060100`](https://github.com/terrazzoapp/terrazzo/commit/00601002a731dc009fb4ef2b438a01b087325a1a), [`0060100`](https://github.com/terrazzoapp/terrazzo/commit/00601002a731dc009fb4ef2b438a01b087325a1a)]: - @terrazzo/token-tools@0.10.0 ## 0.1.1 ### Patch Changes - Updated dependencies [[`c9792bd`](https://github.com/terrazzoapp/terrazzo/commit/c9792bdef27aa2edab3f9f74b37a794f0a14da59), [`c9792bd`](https://github.com/terrazzoapp/terrazzo/commit/c9792bdef27aa2edab3f9f74b37a794f0a14da59)]: - @terrazzo/token-tools@0.9.1 ## 0.0.7 ### Patch Changes - Bugfixes thanks to [@lilnasy](lilnasy)