Solved
Is it possible to trigger off of a variable change
It appears that when you change a variable mode e.g. from light/dark mode it does not trigger a selection or document event. Is there an event that you can hook into on a variable mode change that may not yet be documented.
