0.1.14 • Published 1 year ago

@ergofriend/random-pair-colors v0.1.14

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@ergofriend/random-pair-colors

npm install @ergofriend/random-pair-colors
import { generateRandomPairColor } from '@ergofriend/random-pair-colors'

const result2 = generateRandomPairColor({ backgroundColor: '#3f2697', threshold: 70 })
console.log(result2.textColor, result2.backgroundColor) // #82fce9, #3f2697

Reference

Components AI — A new way to explore generative design systems

Development

preview

npm -w @ergofriend/random-pair-colors run preview

build

npm -w @ergofriend/random-pair-colors run build