mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-28 14:45:28 +00:00
(js) Globally load custom stylesheets
This is required to generate the static theme (theme-default.css)
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user