Hello Guys, I have one quick question. which is the most efficient way to change css dynamically based on logged user (roughly I have 30+ users). I have 2 ways in my mind
Approach-1. Storing a stylesheet values in db directly like primary, secondary colors and user_id. Get values and apply dynamically. Approach-2. Write style sheets and create a table for written stylesheets and user_id. And get stylesheets based on logged user.
what you guys think on these approaches? Which one you like or do you have anything efficient approaches for this scenario. Looking forward to hear from you guys. Any ideas/suggestion that would be great. Thanks in Advance.
Note: using Laravel, Backpack for Admin panel