mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2024-12-23 02:04:46 +02:00
36 lines
1.0 KiB
JavaScript
36 lines
1.0 KiB
JavaScript
/* 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', {
|
|
'default': '400',
|
|
'hue-1': '400',
|
|
'hue-2': '600',
|
|
'hue-3': 'A700'
|
|
})
|
|
.accentPalette('green', {
|
|
'default': '600',
|
|
'hue-1': '300',
|
|
'hue-2': '300',
|
|
'hue-3': 'A700'
|
|
})
|
|
.backgroundPalette('frost-grey');
|
|
$mdThemingProvider.generateThemesOnDemand(false);
|
|
}
|
|
})();
|
|
*/ |