DEV Community

Discussion on: Angular 6: Dynamic Themes Without a Library

Collapse
 
brandonjerz profile image
Brandon Jerz

I think you could even do this without sass. Just update the css variables using the setProperty function in ts. Oninit you can dynamically set the css variables to the users saved theme