How to detect which color theme to use for implementing Android You?

I am currently working on a framework7 app built with capacitor. I noticed that framework7 now supports 12 color themes which can be used to implement Android You (Color Themes | Framework7 Documentation), but I am unable to find how to detect which color theme to use? Is there any documentation which illustrates how to achieve it or a tutorial?

I tried going through the official docs and previous questions on the forum but unable to find one.

If you mean the system color, then there is no way so far as far as i know. Maybe someone will write or already did capacitor or cordova plugin to detect that