Hi, is there a way to do media query programatically? For example, I want to display dialogs in $mdDialog on desktops, and in $mdBottomSheet on mobile devices. So I want to know which is the device resolution from my controller.
Unclear on what affect theme.backgroundPalette has, for example if I set this to "grey" where would this background color be seen. What I'd like to do is set the overall application background color. If I do this with body style/css I have to set all other item background like cards etc. as well - is that correct?