mirror of https://github.com/BTCPrivate/copay.git
add more colours
This commit is contained in:
parent
e95228e37b
commit
e44fbf9634
|
@ -20,7 +20,7 @@
|
|||
</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)}}
|
||||
</h1>
|
||||
</section>
|
||||
|
|
|
@ -382,7 +382,7 @@ angular.module('copayApp.controllers').controller('indexController', function($r
|
|||
self.updateColor = function() {
|
||||
var config = configService.getSync();
|
||||
config.colorFor = config.colorFor || {};
|
||||
self.backgroundColor = config.colorFor[self.walletId] || '#F38F12';
|
||||
self.backgroundColor = config.colorFor[self.walletId] || '#4A90E2';
|
||||
var fc = profileService.focusedClient;
|
||||
fc.backgroundColor = self.backgroundColor;
|
||||
};
|
||||
|
|
|
@ -22,7 +22,7 @@ angular.module('copayApp.controllers').controller('preferencesColorController',
|
|||
|
||||
var config = configService.getSync();
|
||||
config.colorFor = config.colorFor || {};
|
||||
this.color = config.colorFor[walletId] || '#7A8C9E';
|
||||
this.color = config.colorFor[walletId] || '#4A90E2';
|
||||
|
||||
this.save = function(color) {
|
||||
var self = this;
|
||||
|
|
|
@ -47,7 +47,7 @@ angular.module('copayApp.controllers').controller('sidebarController',
|
|||
n: c.n,
|
||||
name: config.aliasFor[c.walletId] || c.walletName,
|
||||
id: c.walletId,
|
||||
color: config.colorFor[c.walletId] || '#F38F12',
|
||||
color: config.colorFor[c.walletId] || '#4A90E2',
|
||||
};
|
||||
});
|
||||
self.wallets = lodash.sortBy(ret, 'name');
|
||||
|
|
Loading…
Reference in New Issue