I would like to apply the css only to an element with a specific class rather than break all of the css on my existing app. How can this be done?
Adding the following to my styles.scss breaks the app. Adding it to the component does not work unless I set the encapsulation to `ViewEncapsulation.None` which has the same effect
Hi Nathan,
You have to change the variable that you are passing in the igx-theme function from $default-palette to $app-palette. To apply the theme for a specific component you can use a CSS selector. Example:
A little more playing around with it and I realized that while following the tutorial for integrating igniteui into an existing app that it had me apply the igx-typeography class to the body which was causing all my issues.