adobe/leonardo

Theme inputs not defined

NateBaldwinDesign opened this issue · 1 comments

Description

Certain scripts are logged as undefined in console, and slider updates for brightness and contrast, plus the toggle control for displaying configuration, swatches, or scales, are all not working.

Steps to reproduce

  1. Go to http://leonardocolor.io/
  2. Click on theme tab
  3. Add a color
  4. Move brightness or contrast slider
  5. Change preview mode from Configuration to swatches or scales
  6. Observe UI does not update. Check console to see errors, eg sliderInput is not defined

Expected behavior

Expect scripts to work, as they are properly defined.

I suspect this may have something to do with the added --no-minify flag added to the parcel build scripts. No-minify was added to avoid a build error that occurred, but may possibly be causing this issue

Screenshots

Environment

  • Browser(s) and OS(s):

Additional context

This appears to be resolved with latest deployment of site.