π Angular: override child components without ng-deep
#angular #ngDeep
The idea is that nested components should be able to be styled natively but they should not be modified. In other words: Open Closed Principle of SOLID.
β Article link: https://vugar-005.medium.com/angular-override-child-components-without-ng-deep-c76e691082d4
π Example: https://stackblitz.com/edit/stackblitz-starters-lvddww?file=src%2Fpost-list%2Fpost-card%2Fpost-card.component.html
#angular #ngDeep
The idea is that nested components should be able to be styled natively but they should not be modified. In other words: Open Closed Principle of SOLID.
β Article link: https://vugar-005.medium.com/angular-override-child-components-without-ng-deep-c76e691082d4
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
π2
π CSS variables in Angular: ng-deep is no longer needed
#angular #css #ngDeep
β Article link: https://medium.com/@maks-dolgikh/css-variables-in-angular-ng-deep-is-no-longer-needed-part-2-3ac60f8a4abc
#angular #css #ngDeep
β Article link: https://medium.com/@maks-dolgikh/css-variables-in-angular-ng-deep-is-no-longer-needed-part-2-3ac60f8a4abc