analogwp / analogwp-templates

Style Kits for Elementor adds a number of intuitive styling controls in the Elementor editor that allow you to apply styles globally or per page.
https://analogwp.com
27 stars 7 forks source link

Issues with Dynamic colors in sk-bg classes #411

Closed JohnPixle closed 4 years ago

JohnPixle commented 4 years ago

With the latest update, there seem to be some weird issues with the background color classes, specifically when attempting to use a dynamic color class.

👉🏻 Page for testing.

In short, here is what happens:

  1. When adding a dynamic background color in the class, the text inherits the color as well. Heading color is fine.
  2. When attempting to update the global color, the page gets stripped of SK-related styles. If you refresh the page, the styles appear fine again.

Here is a video showing both issues https://www.loom.com/share/70e1d097312342f9836f8abb1c699a0c

JohnPixle commented 4 years ago

I suspect that there are things going wrong from Elementor's side on this one as well btw, but let's see what we can do to fix it. The option to be able to use dynamic (global) colors in Style Kits has a huge potential, let's do our best to smoothly integrate it.