add more colours

This commit is contained in:
bechi 2015-05-29 15:25:41 -03:00
commit e44fbf9634
4 changed files with 4 additions and 4 deletions

View file

@ -20,7 +20,7 @@
</section> </section>
<section class="middle tab-bar-section"> <section class="middle tab-bar-section">
<h1 class="title ellipsis" ng-style="{'color': noColor ? '#F38F12' : index.backgroundColor}"> <h1 class="title ellipsis" ng-style="{'color': noColor ? '#4A90E2' : index.backgroundColor}">
{{(titleSection|translate) || (index.alias || index.walletName)}} {{(titleSection|translate) || (index.alias || index.walletName)}}
</h1> </h1>
</section> </section>

View file

@ -382,7 +382,7 @@ angular.module('copayApp.controllers').controller('indexController', function($r
self.updateColor = function() { self.updateColor = function() {
var config = configService.getSync(); var config = configService.getSync();
config.colorFor = config.colorFor || {}; config.colorFor = config.colorFor || {};
self.backgroundColor = config.colorFor[self.walletId] || '#F38F12'; self.backgroundColor = config.colorFor[self.walletId] || '#4A90E2';
var fc = profileService.focusedClient; var fc = profileService.focusedClient;
fc.backgroundColor = self.backgroundColor; fc.backgroundColor = self.backgroundColor;
}; };

View file

@ -22,7 +22,7 @@ angular.module('copayApp.controllers').controller('preferencesColorController',
var config = configService.getSync(); var config = configService.getSync();
config.colorFor = config.colorFor || {}; config.colorFor = config.colorFor || {};
this.color = config.colorFor[walletId] || '#7A8C9E'; this.color = config.colorFor[walletId] || '#4A90E2';
this.save = function(color) { this.save = function(color) {
var self = this; var self = this;

View file

@ -47,7 +47,7 @@ angular.module('copayApp.controllers').controller('sidebarController',
n: c.n, n: c.n,
name: config.aliasFor[c.walletId] || c.walletName, name: config.aliasFor[c.walletId] || c.walletName,
id: c.walletId, id: c.walletId,
color: config.colorFor[c.walletId] || '#F38F12', color: config.colorFor[c.walletId] || '#4A90E2',
}; };
}); });
self.wallets = lodash.sortBy(ret, 'name'); self.wallets = lodash.sortBy(ret, 'name');