XF 2.3 How to get current variation ?

The server and templates do not have any visibility into the users preferred color scheme, it is entirely client-side. What are you trying to do?
 
The server and templates do not have any visibility into the users preferred color scheme, it is entirely client-side. What are you trying to do?
Yes, understand this. For example, i wanna to display discord widget in corrected color schema (currently this in HTML widget on sidebar).
But if user select 'system' i cant detect color scheme inside template.
Im thinking about JS insertion from addon code, but try to ask for help here first.
 
Back
Top Bottom