Currently, I am in the process of developing a Firefox OS application using angularjs and angular-material. One feature that I would like to incorporate is allowing users to customize the colors of their app. To achieve this, I have utilized the md-slider component to select red, green, and blue colors, and then used the RGB values from these sliders as parameters to create a custom color.
However, now I am curious if it is feasible to implement something along the lines of:
myapp.config(['$mdThemingProvider',function($mdThemingProvider){
$mdThemingProvider.theme('default')
.primaryPalette('rgb(x,y,z)');
}]);