carbon-components-angular
carbon-components-angular copied to clipboard
How to get current theme colors
I need to get some Carbon colors to my custom component, how can i do that?
Implemented theme in the styles.scss

My custom component that needs Сarbon colors depending on the current theme

Look into the themes package (Specifically the JavaScript section): https://www.npmjs.com/package/@carbon/themes
You may have to use v10 and you'll have to manage what theme you're using/switching too.
@dkhrunov Has your question been answered?
Closing issue due to inactivity.
@dkhrunov Has your question been answered?
I will try to test the solution you suggested soon