UNPKG

@jeact/contrast-color

Version:

Simple function to get the contrast color for a text over some color

25 lines (11 loc) 919 B
# Changelog All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. ### [1.1.1](https://github.com/JebBarbas/jeact-contrast-text/compare/v1.1.0...v1.1.1) (2021-11-21) ### Bug Fixes * Minified package size ⚡ ([1a228da](https://github.com/JebBarbas/jeact-contrast-text/commit/1a228dad4eddeaa4d6d06192200e1778d6b297fd)) ## [1.1.0](https://github.com/JebBarbas/jeact-contrast-text/compare/v1.0.0...v1.1.0) (2021-10-20) ### Features * Changed tsc target from esnext to es5 👍 ([874f816](https://github.com/JebBarbas/jeact-contrast-text/commit/874f816eba9322211b43f59ce3164edca6e9ab73)) ## 1.0.0 (2021-10-20) ### Features * First commit, added the contrastColor function 1️⃣ ([ff367b0](https://github.com/JebBarbas/jeact-contrast-text/commit/ff367b042478622d93bbe6efb0c440631dce98dc))