add more colours
This commit is contained in:
parent
ca2637af13
commit
e95228e37b
4 changed files with 10 additions and 7 deletions
|
|
@ -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] || '#7A8C9E';
|
||||
self.backgroundColor = config.colorFor[self.walletId] || '#F38F12';
|
||||
var fc = profileService.focusedClient;
|
||||
fc.backgroundColor = self.backgroundColor;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -4,14 +4,17 @@ angular.module('copayApp.controllers').controller('preferencesColorController',
|
|||
function($scope, configService, profileService, go) {
|
||||
var config = configService.getSync();
|
||||
this.colorOpts = [
|
||||
'#7A8C9E',
|
||||
'#F38F12',
|
||||
'#F4D03F',
|
||||
'#FAA77F',
|
||||
'#FADA58',
|
||||
'#9EDD72',
|
||||
'#77DADA',
|
||||
'#4A90E2',
|
||||
'#484ED3',
|
||||
'#9B59B6',
|
||||
'#E856EF',
|
||||
'#F883B4',
|
||||
'#FF599E',
|
||||
'#7A8C9E',
|
||||
];
|
||||
|
||||
var fc = profileService.focusedClient;
|
||||
|
|
|
|||
|
|
@ -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] || '#7A8C9E',
|
||||
color: config.colorFor[c.walletId] || '#F38F12',
|
||||
};
|
||||
});
|
||||
self.wallets = lodash.sortBy(ret, 'name');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue