adobe / leonardo

Generate colors based on a desired contrast ratio

Home Page:http://www.leonardocolor.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Helper functions for using Leonardo for brightness control

NateBaldwinDesign opened this issue · comments

Description

Current demo shows possible implementation for Leonardo as a brightness control, however it uses a foundational function createScale that is intended to be a utility wrapper of d3 scale creation, with multiple possible uses. The current implementation using createScale for brightness is unfocused and could be improved.

Proposed enhancement: incorporate a function that will output an array of color values tailored for brightness control.

Why do you need this feature?

To make it easier to incorporate brightness control using Leonardo.

Additional context

Solved by #34