adobe / leonardo

Generate colors based on a desired contrast ratio
http://www.leonardocolor.io
Apache License 2.0
1.94k stars 104 forks source link

Missing API docs for APCA formula #198

Open NateBaldwinDesign opened 1 year ago

NateBaldwinDesign commented 1 year ago

Description

Themes accept a formula argument, which also has support in setter to change from 'wcag2' to 'wcag3'. The 'wcag3' option uses the APCA formula for calculating contrast.

The feature already exists but does not appear to be documented in the README for the contrast-colors package.

Steps to reproduce

Expected behavior

Screenshots

Leonardo package and version

Environment

Additional context

sumitshinde-84 commented 1 year ago

i would like to work on this issue , can you please assign it to me?