Or do I just have to create functionality that tries all selectors that themes use?
Solved! Go to the solution
This is an accepted solution.
There are 2 ways to solve it
Both strategies have trade-offs, so it is up to your use case of what would work best