Using CSS Custom Properties To Theme Components In Angular 6.1.3

added by JavaScript Kicks
8/20/2018 9:50:26 AM

431 Views

Ben Nadel explores the use of CSS Custom Properties / CSS Variables to drive theming in an Angular 6.1.3 application with simulated shadow-DOM encapsulation. He also uses PostCSS to gracefully degrade in IE11, which will still work; and, will hide non-active theme-switch tooling from the user.


0 comments