Open herlon214 opened 7 years ago
In app.js add an additional config and create a new theme then set it as your default like this:
(function() {
'use strict';
var app = angular.module('app', ['ngRoute', 'ngMaterial', 'ngAnimate']);
app.config([
'$routeProvider',
function($routeProvider) {
$routeProvider.when('/', {templateUrl: './scripts/home/home.html'});
$routeProvider.otherwise({redirectTo: '/'});
}
]).config(function($mdThemingProvider) {
$mdThemingProvider.theme('myTheme').primaryPalette('red');
$mdThemingProvider.setDefaultTheme('myTheme');
});
})();
I've tried:
But shows: