Skip to content

Commit

Permalink
update browser color
Browse files Browse the repository at this point in the history
  • Loading branch information
zulbakar committed Aug 29, 2017
1 parent 735eef8 commit 63d4cb3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
<head>
<meta charset="utf-8">
<title>Angular Material Design</title>
<meta name="theme-color" content="#01579b">
<meta name="description" content="Angular Material Design">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

Expand Down
7 changes: 7 additions & 0 deletions app/scripts/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,11 @@ angular
$mdThemingProvider.theme('altTheme')
.primaryPalette('primaryColorMap')
.accentPalette('accentsColorMap');

// Enable browser color
$mdThemingProvider.enableBrowserColor({
theme: 'altTheme', // Default is 'default'
palette: 'primary', // Default is 'primary', any basic material palette and extended palettes are available
hue: '500' // Default is '800'
});
});

0 comments on commit 63d4cb3

Please sign in to comment.