After I defined pseudo classes in Cwicly Global style settings, those pseudo classes are not showing when I want to apply them to an actual block element.
You are able to create global pseudo classes inside the global styles panel.
How do global pseudo classes work?
For example you can switch to the hover state while being inside the global panel, go to the Typography panel, and set a specific rule, e.g. color: red; to the h1.
Now every h1 on your entire site would apply a red color on hover.
That is exactly the same route you want to go when creating and styling your custom ones.
On the other side you are able to use or create block based pseudo classes/elements.
You are still able to assign your global pseudo classes to a block by just typing it in.
Global pseudo classes won’t appear on the block state dropdown list, this is intentional.
You will find them in the list after typing them in, they also will remain there.
Thank you Marius for the answer. It clears up some things for me. I had no idea I can just type inside a pseudo class option field. There may be some icon in the future indicating that it is possible to enter a custom pseudo class.
Yes, working with pseudo classes improved a lot, really a fan of the new picker.
However, the main issue I always had with it is still there. Before, after or any other added custom pseudo class/element do not come with a visual indicator like we have when selecting hover, active or focus.
Since I often work with the before/after pseudo element, I regularly mess up entire block design settings, assuming I am in the normal mode.
I hope this can be addressed at some point.
Thanks.