utk09-NCL / color-palette-generator

Color Conjure - Color Palette Generator
https://color-conjure.netlify.app
MIT License
14 stars 8 forks source link

Bug: 19 - Generated colours shows invalid colour name #38

Open shahpreetk opened 3 hours ago

shahpreetk commented 3 hours ago

Describe the Bug

Invalid colour name gets set to generated colours.

Steps to Reproduce

Steps to reproduce the behavior:

  1. Click 'Generate Colors'
  2. Edit the colour name from "primary" to "invalid"
  3. The colour name gets set in the generated colours (bug)
  4. Click 'Export Colors'.
  5. This also shows the invalid color name as key (bug)

Expected Behavior

Screenshots

Screenshot 2024-10-13 at 5 44 56 PM Screenshot 2024-10-13 at 6 02 03 PM

Environment

Additional Context

N/A

utk09-NCL commented 3 hours ago

Thank you for noticing this @shahpreetk I'll take a look into fixing it.