Page 1 of 1

new setup styles error in app.search.component.ts

Posted: 09 Feb 2023, 19:10
by webwatt
Diamond Template fails with this error:

Image

Re: new setup styles error in app.search.component.ts

Posted: 10 Feb 2023, 10:02
by cetincakiroglu
Hi,

Which version are you using?
I've tried to reproduce the issue, but couldn't replicate it with the latest version of Diamond, it works. Could you please give instructions on how to reproduce it?

Re: new setup styles error in app.search.component.ts

Posted: 23 Feb 2023, 01:28
by webwatt
I was able to work around by not using :: annotation at all and simply defining !important on the class attribute declaration.

Re: new setup styles error in app.search.component.ts

Posted: 02 Mar 2023, 09:31
by cetincakiroglu
webwatt wrote:
23 Feb 2023, 01:28
I was able to work around by not using :: annotation at all and simply defining !important on the class attribute declaration.
Happy to see the problem solved.
Interesting, the error log indicates that ":host: :ng-deep" which is wrong usage of ":host ::ng-deep {}". This error may be caused by the node-sass version on your machine.