• Hi! Great plugin! I got 2 suggestions to improve it, if it’s possible :

    1. The plugin has a 3 background palettes : one called “Theme”, one called “Default colors” and a custom selector. Both “Theme” and “Default colors” are hardcoded in the block script and are kinda useless if your project has relatively strict visual guidelines. I’d like to be able to customize the palette options (for example, having a custom “theme” palette and ideally disable useless palettes. A setting, perhaps? Or maybe checking the “theme.json” color palette if available?

    2. The frontend files (CSS + Javascript) seems to be systematically loaded on every page, even if no lottiefiles block is in the post. Is it possible to load them only when needed? For the moment, I did a workaround to dequeue them in my functions.php when the block is not present, but if it can be clean from the start, that would be cool.

    Thanks a lot!

  • The topic ‘Custom palette + Only loading frontend assets when needed’ is closed to new replies.