In order to avoid CSS getting messed up, we better force the regeneration of Styles in some cases:
[x] On Plugin update. hen the plugin is updated, the Styles should be regenerated.
[x] After setting a Global Style Kit. I made some tests, and looks like we should do this as well. So, after applying a new Global Style Kit, let's regenerate the styles as well.
Bonus task:
[x] When users apply a new style kit, it is always handy to give them a link to quickly view the frontend. Let's add a "View site" link at the end of the notification, that will open a new tab and load the homepage. Elementor does something similar when users import a Site Kit.
In order to avoid CSS getting messed up, we better force the regeneration of Styles in some cases:
Bonus task: