File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ - (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reus
43
43
self.textField = [UITextField new ];
44
44
self.textField .borderStyle = UITextBorderStyleRoundedRect;
45
45
self.textField .font = [UIFont fontWithName: @" HelveticaNeue-Light" size: 16 ];
46
+ self.textField .backgroundColor = [UIColor otpLightColor ];
46
47
[self .contentView addSubview: self .textField];
47
48
}
48
49
return self;
Original file line number Diff line number Diff line change 27
27
28
28
@interface UIColor (OTP)
29
29
30
+ + (instancetype )otpLightColor ;
31
+
30
32
+ (instancetype )otpBarBackgroundColor ;
31
33
+ (instancetype )otpBarForegroundColor ;
32
34
+ (instancetype )otpBackgroundColor ;
Original file line number Diff line number Diff line change 29
29
@implementation UIColor (OTP)
30
30
31
31
COLOR (darkBlueColor, [UIColor colorWithIntegerRed: 35 green: 35 blue: 50 ])
32
- COLOR(lightColor, [UIColor colorWithIntegerRed: 250 green: 248 blue: 240 ])
32
+ COLOR(otpLightColor, [UIColor colorWithIntegerRed: 250 green: 248 blue: 240 ])
33
33
34
34
COLOR(otpBarBackgroundColor, [UIColor darkBlueColor ])
35
- COLOR(otpBarForegroundColor, [UIColor lightColor ])
35
+ COLOR(otpBarForegroundColor, [UIColor otpLightColor ])
36
36
COLOR(otpBackgroundColor, [UIColor darkBlueColor ])
37
- COLOR(otpForegroundColor, [UIColor lightColor ])
37
+ COLOR(otpForegroundColor, [UIColor otpLightColor ])
38
38
39
39
@end
You can’t perform that action at this time.
0 commit comments