Good morning Brock,
At this time there isn't a way to detect the theme from within a Tecton extension. The theme is meant to provide you all the styling you would need and not something we recommend writing logic around.
Is there something you're trying to check or change that is based on a particular theme, or perhaps a different problem we can help you solve?
Thanks,
Kris