mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-15 10:18:50 +00:00
fix(administration(js)): add rgba colors to theme preview
This commit is contained in:
@@ -25,10 +25,11 @@
|
||||
/**
|
||||
* @ngInject
|
||||
*/
|
||||
ThemePreviewController.$inject = ['$mdTheming'];
|
||||
function ThemePreviewController($mdTheming) {
|
||||
ThemePreviewController.$inject = ['$mdTheming', '$mdColors'];
|
||||
function ThemePreviewController($mdTheming, $mdColors) {
|
||||
this.defaultTheme = $mdTheming.THEMES[$mdTheming.defaultTheme()];
|
||||
this.jsonDefaultTheme = JSON.stringify(this.defaultTheme, undefined, 2);
|
||||
this.getColor = $mdColors.getThemeColor;
|
||||
}
|
||||
|
||||
angular
|
||||
|
||||
Reference in New Issue
Block a user