(js) Globally load custom stylesheets

This is required to generate the static theme (theme-default.css)
This commit is contained in:
Francis Lachapelle
2018-10-23 14:25:58 -04:00
parent 35ea86557c
commit ee001243b2
4 changed files with 22 additions and 20 deletions
@@ -13,18 +13,6 @@
*/
configure.$inject = ['$stateProvider', '$urlServiceProvider', '$mdThemingProvider'];
function configure($stateProvider, $urlServiceProvider, $mdThemingProvider) {
// Register custom stylesheet
$mdThemingProvider.registerStyles([
'[ui-view=calendars] .hours {',
' color: \'{{primary-700}}\';',
'}',
'.attendees .busy {',
' background-color: \'{{background-1000}}\';',
'}',
'.attendees .event {',
' background-color: \'{{primary-300}}\';',
'}'
].join(''));
$stateProvider
.state('calendars', {
url: '/calendar',