I have an React application with design that heavily relies on hardcoded design elements in CSS code. Recently I was tasked to make some of them(images, color scheves, etc...) elements variable depending on the user login.
I'm looking for a simple solution that will allow for changing the entire design without styling each element separately with react.
Maybe there is a way to add an additional CSS stylesheet on the fly that will override the initial values? Or is there a way to modify the existing stylesheet so i can inject the modified values into it once during the user sign-in for example?
Thanks!