adobe / leonardo

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

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

Closed thierryc closed 7 months ago

thierryc commented 11 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 11 months ago

Adobe CLA Signed!

GarthDB commented 7 months ago

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