How to use "Icon Variants" for scripts or IMGUI?

I want my script icon to have variants for each theme, I found only this info in random documentation:

So it’s the same as with UI Elements? Let’s try:

6444874--721277--upload_2020-10-22_12-47-7.png

It actually works for “On” icon…
6444874--721286--upload_2020-10-22_12-56-57.png

But once I switch theme, “d_” icon is ignored
6444874--721292--upload_2020-10-22_12-58-39.png

How do I deal with it properly?

bump