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

Generate valid variable names from theme names and fix comma in output formatting #223

Closed thierryc closed 4 months ago

thierryc commented 8 months ago

Description

Implemented a JavaScript regex to sanitize theme names for use as variable names:

Addressed a missing comma in output formatting:

Motivation

Fix output

thierryc commented 8 months ago

Adobe CLA Signed!

GarthDB commented 4 months ago

Moved work to https://github.com/adobe/leonardo/pull/243