skip to Main Content

Angular material themes with css variables

I have in my project css variables like below: :root { --color-primary: #65A518; --color-primary-hover: #558817; --color-primary-dark: #006729; --color-white: #FFFFFF; } but now I have to add angular material and custom themes. I read that I need create my custom palette…

VIEW QUESTION

Applying styles to innerHTML in Angular

I have an Angular component named ExternalHtmlComponent responsible for rendering HTML content fetched from the backend. The HTML content is dynamically inserted into a element using the [innerHTML] property binding. To style the dynamically inserted HTML content, I've defined a…

VIEW QUESTION
Back To Top
Search