mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-11 14:57:12 +00:00
Move md theming config to ui.js (SOGo.UI)
This commit is contained in:
1 parent
88d79cd5ff
commit
01df9a41e7
2 files changed
+9
-8
No files matched your search
@@ -11,7 +11,15 @@
|
||||
(function() {
|
||||
'use strict';
|
||||
angular.module('SOGo.UI', ['ngMaterial' ])
|
||||
.controller('toggleCtrl', ['$scope', '$timeout', '$mdSidenav', '$log', function($scope, $timeout, $mdSidenav, $log) {
|
||||
|
||||
.config(function($mdThemingProvider) {
|
||||
$mdThemingProvider.theme('default')
|
||||
.primaryColor('grey', {
|
||||
'default': '800'
|
||||
});
|
||||
})
|
||||
|
||||
.controller('toggleCtrl', ['$scope', '$timeout', '$mdSidenav', '$log', function($scope, $timeout, $mdSidenav, $log) {
|
||||
$scope.toggleLeft = function() {
|
||||
$mdSidenav('left').toggle()
|
||||
.then(function(){
|
||||
|
||||
Reference in new issue
Block a user