mirror of https://github.com/akveo/blur-admin
feat(configuration): add methods to change config
parent
b548aefc69
commit
99425ca91e
|
@ -78,6 +78,15 @@
|
|||
},
|
||||
}
|
||||
};
|
||||
|
||||
conf.changeTheme = function(theme) {
|
||||
angular.merge(conf.theme, theme)
|
||||
};
|
||||
|
||||
conf.changeColors = function(colors) {
|
||||
angular.merge(conf.colors, colors)
|
||||
};
|
||||
|
||||
conf.$get = function () {
|
||||
delete conf.$get;
|
||||
return conf;
|
||||
|
|
Loading…
Reference in New Issue