generatepress icon indicating copy to clipboard operation
generatepress copied to clipboard

RGB colors are messing up the saved color palette

Open simkoG opened this issue 1 year ago • 0 comments

Description

Cannot use RGB colors within Appearance > Customize > Colors. After saving and refreshing the Customizer, the colors that were saved as RGB variables are all missing.

Steps to reproduce

  1. Activate Generatepress.
  2. Go to Appearance > Customize > Colors.
  3. Set the accent color (last in the row) to rgb( 255, 0, 0 ) (red).
  4. You can see that the links will be red.
  5. Save changes with Publish button.
  6. Refresh the customizer page. (Important!)
  7. Accent color will be empty.

https://user-images.githubusercontent.com/10430702/198012358-2c456e30-dd4c-4fe6-a591-1066fd7b2196.mp4

Actual behavior

Cannot save RGB colors within Customizer.

Expected behavior

Support (or at least do not allow) the use of RGB colors.


References

https://generatepress.com/generatepress-3-1-global-colors-dynamic-typography/

simkoG avatar Oct 26 '22 11:10 simkoG