Studio theme changed event for plugins

I am very new to plugin making and am currently trying for myself and a few other people to use but i am having a bit of trouble with color themes

in particular i don’t know how to detect when a user changes their theme so that i can also swap my plugins theme to match that of the users and due to… lacklustre documentation surrounding certain plugin exclusive features i couldn’t find how to do so

it seems like there should be an event or something of the sort to figure out if the user changed their theme because getting the current theme is easy as pie but i can’t seem to find it