Reskin: Kill kRiotColorGreen and use RiotDesignValues.colorValues.accent instead

This commit is contained in:
manuroe
2018-11-30 17:10:28 +01:00
parent 9fea29617e
commit a28271afcb
62 changed files with 170 additions and 111 deletions
@@ -17,6 +17,7 @@
#import "DeactivateAccountViewController.h"
#import "RiotDesignValues.h"
#import "Riot-Swift.h"
#import "AppDelegate.h"
#pragma mark - Defines & Constants
@@ -165,7 +166,7 @@ static CGFloat const kTextFontSize = 15.0;
self.deactivateAcccountButton.titleLabel.baselineAdjustment = UIBaselineAdjustmentAlignCenters;
self.deactivateAcccountButton.layer.masksToBounds = YES;
self.deactivateAcccountButton.backgroundColor = kRiotColorGreen;
self.deactivateAcccountButton.backgroundColor = RiotDesignValues.colorValues.accent;
[self.deactivateAcccountButton setTitle:NSLocalizedStringFromTable(@"deactivate_account_validate_action", @"Vector", nil) forState:UIControlStateNormal];
[self.deactivateAcccountButton setTitleColor:kRiotAuxiliaryColor forState:UIControlStateDisabled];
}