mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
aca02221be
• updated iconography • lines and sizing • empty inbox and archive screen with wording • bug fix on calling to self being enabled sometimes (doesn't crash either way, but makes little sense) • call icons and group update icons incorporated (PR to JSQ must be merged to test; this will be two lines on the Signal-iOS side to remove if we decide not to go with icons) • fingerprint screen working: accessible by long press from contact screen on contact title. long press on lower half of screen shreds key material after confirmation. new icons for scan and show. • short press on contact title will show their phone number • color updates to new palette for green, yellow and light blue
59 lines
1.5 KiB
Objective-C
59 lines
1.5 KiB
Objective-C
//
|
|
// UIColor+UIColor_OWS.m
|
|
// Signal
|
|
//
|
|
// Created by Dylan Bourgeois on 25/11/14.
|
|
// Copyright (c) 2014 Open Whisper Systems. All rights reserved.
|
|
//
|
|
|
|
#import "UIColor+OWS.h"
|
|
|
|
@implementation UIColor (OWS)
|
|
|
|
|
|
+ (UIColor*) ows_materialBlueColor {
|
|
// blue: #2090EA
|
|
return [UIColor colorWithRed:32.f/255.f green:144.f/255.f blue:234.f/255.f alpha:1.f];
|
|
}
|
|
|
|
+ (UIColor*) ows_blackColor {
|
|
// black: #080A00
|
|
return [UIColor colorWithRed:8.f/255.f green:10.f/255.f blue:0./255.f alpha:1.f];
|
|
}
|
|
|
|
|
|
+ (UIColor*) ows_darkGrayColor {
|
|
return [UIColor colorWithRed:81.f/255.f green:81.f/255.f blue:81.f/255.f alpha:1.f];
|
|
}
|
|
|
|
+ (UIColor*) ows_darkBackgroundColor {
|
|
return [UIColor colorWithRed:35.f/255.f green:31.f/255.f blue:32.f/255.f alpha:1.f];
|
|
}
|
|
|
|
+ (UIColor *) ows_fadedBlueColor {
|
|
// blue: #B6DEF4
|
|
return [UIColor colorWithRed:182.f/255.f green:222.f/255.f blue:244.f/255.f alpha:1.f];
|
|
}
|
|
|
|
+ (UIColor *) ows_yellowColor {
|
|
// gold: #FFBB5C
|
|
return [UIColor colorWithRed:245.f/255.f green:186.f/255.f blue:98.f/255.f alpha:1.f];
|
|
}
|
|
|
|
+ (UIColor *) ows_greenColor {
|
|
// green: #92FF8A
|
|
return [UIColor colorWithRed:146.f/255.f green:255.f/255.f blue:138.f/255.f alpha:1.f];
|
|
}
|
|
|
|
+ (UIColor *) ows_redColor {
|
|
// red: #FF3867
|
|
return [UIColor colorWithRed:255./255.f green:56.f/255.f blue:103.f/255.f alpha:1.f];
|
|
}
|
|
|
|
+ (UIColor *) ows_lightBackgroundColor {
|
|
return [UIColor colorWithRed:242.f/255.f green:242.f/255.f blue:242.f/255.f alpha:1.f];
|
|
}
|
|
|
|
|
|
@end
|
|
|