Closed amirjr1378 closed 3 years ago
request?
Once the content of modifyVars is set, it cannot be changed except by restarting the server.
If you want to change it dynamically, modify the .less file, or append style to the end of the body.
by request means api , i get palette from api
how can i modify .less file dynamically?
get api data, and append to html body. data be a
i have to change my palette base on request , with latest less in window we have less.modifyVars({ '@bgColor': 'blue', '@textColor': 'red' });
but i dont have it when i use this package