(js) Globally load custom stylesheets

This is required to generate the static theme (theme-default.css)
This commit is contained in:
Francis Lachapelle committed 2018-10-23 14:31:34 -04:00
1 parent 35ea86557c
commit ee001243b2
4 files changed
+22 -20

No files matched your search

@@ -243,6 +243,19 @@
'}',
].join(''));
// Register custom stylesheet for Calendar module
$mdThemingProvider.registerStyles([
'[ui-view=calendars] .hours {',
' color: \'{{primary-700}}\';',
'}',
'.attendees .busy {',
' background-color: \'{{background-1000}}\';',
'}',
'.attendees .event {',
' background-color: \'{{primary-300}}\';',
'}'
].join(''));
if (!window.DebugEnabled) {
// Disable debugging information
$logProvider.debugEnabled(false);