Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(267)

Side by Side Diff: remoting/ios/app/remoting_styles.mm

Issue 2929663002: [CRD iOS] Fix color scheme and other UI issues (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #if !defined(__has_feature) || !__has_feature(objc_arc)
6 #error "This file requires ARC support."
7 #endif
8
9 #import "remoting/ios/app/remoting_styles.h"
10
11 static UIColor* kHostListBackgroundColor =
nicholss 2017/06/07 21:01:42 There is a more direct way to do this that would h
Yuwei 2017/06/07 22:25:22 Done.
12 [UIColor colorWithRed:0.11f green:0.23f blue:0.66f alpha:1.f];
13 static UIColor* kOnlineHostColor =
14 [UIColor colorWithRed:0.20f green:0.70f blue:0.20f alpha:1.f];
15 static UIColor* kOfflineHostColor =
16 [UIColor colorWithRed:0.75f green:0.75f blue:0.75f alpha:1.f];
17 static UIColor* kConnectionViewBackgroundColor =
18 [UIColor colorWithRed:0.06f green:0.12f blue:0.33f alpha:1.f];
19
20 @implementation RemotingStyles
21
22 + (UIColor*)hostListBackgroundColor {
23 return kHostListBackgroundColor;
24 }
25
26 + (UIColor*)connectionViewBackgroundColor {
27 return kConnectionViewBackgroundColor;
28 }
29
30 + (UIColor*)onlineHostColor {
31 return kOnlineHostColor;
32 }
33
34 + (UIColor*)offlineHostColor {
35 return kOfflineHostColor;
36 }
37
38 @end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698