Relative Content

Tag Archive for cssangularangular-material

Angular material progress spinner reactive

in Angular material progress spinner component we can actually set size by setting diameter. I want to know if there is an option to make this diameter responsive so it based on window size.

Semantic colors in an Angular Material component

My Angular Material v18 application allows the user to set their theme but one component group, the “order control”, has two semantic colors: blue for “buy”; and red for “sell” (similar to blue for “cold” and red for “hot” in a weather application) which are independent of the theme. Here’s an HTML version that kinda does what it should followed by an Angular Material section which does not change color.

Theme-independent Angular Material component

My Angular Material v18 application allows the user to set their theme but one component group, the “order control”, needs to be independent of the theme. Here’s an HTML version that kinda does what it should followed by an Angular Material section which does not change color.