mailcow/data/conf/sogo/custom-theme.js

36 lines
1.0 KiB
JavaScript
Raw Normal View History

/* EXAMPLE - EXAMPLE - EXAMPLE - EXAMPLE - EXAMPLE - EXAMPLE - EXAMPLE
(function() {
'use strict';
angular.module('SOGo.Common')
.config(configure)
configure.$inject = ['$mdThemingProvider'];
function configure($mdThemingProvider) {
var greyMap = $mdThemingProvider.extendPalette('grey', {
'200': 'F5F5F5',
'300': 'E5E5E5',
'1000': '4C566A'
});
var greenCow = $mdThemingProvider.extendPalette('green', {
'600': 'E5E5E5'
});
$mdThemingProvider.definePalette('frost-grey', greyMap);
$mdThemingProvider.definePalette('green-cow', greenCow);
$mdThemingProvider.theme('default')
.primaryPalette('green-cow', {
2021-03-03 17:23:51 +08:00
'default': '400',
'hue-1': '400',
2021-03-03 17:23:51 +08:00
'hue-2': '600',
'hue-3': 'A700'
})
.accentPalette('green', {
2021-03-03 17:23:51 +08:00
'default': '600',
'hue-1': '300',
'hue-2': '300',
'hue-3': 'A700'
})
.backgroundPalette('frost-grey');
$mdThemingProvider.generateThemesOnDemand(false);
}
})();
2021-03-03 17:23:51 +08:00
*/