forked from overcyn/Enqueue
-
Notifications
You must be signed in to change notification settings - Fork 0
/
NSColor+Extensions.m
61 lines (45 loc) · 1.5 KB
/
NSColor+Extensions.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#import "NSColor+Extensions.h"
@implementation NSColor (Extensions)
+ (NSColor *)PRGridColor {
return [NSColor colorWithCalibratedWhite:0.85 alpha:1.0];
}
+ (NSColor *)PRGridHighlightColor {
return [NSColor colorWithCalibratedWhite:1.0 alpha:1.0];
}
+ (NSColor *)PRTabBorderColor {
return [NSColor colorWithCalibratedWhite:0.70 alpha:1.0];
}
+ (NSColor *)PRTabBorderHighlightColor {
return [NSColor colorWithCalibratedWhite:0.99 alpha:1.0];
}
+ (NSColor *)PRAltTabColor {
return [NSColor colorWithCalibratedWhite:0.89 alpha:1.0];
}
+ (NSColor *)PRAltTabDepressedColor {
return [NSColor colorWithCalibratedWhite:0.8 alpha:1.0];
}
+ (NSColor *)PRAltTabBorderHighlightColor; {
return [NSColor colorWithCalibratedWhite:0.95 alpha:1.0];
}
+ (NSColor *)PRTabBackgroundColor {
return [NSColor colorWithCalibratedWhite:0.92 alpha:1.0];
}
+ (NSColor *)PRBackgroundColor {
return [NSColor colorWithCalibratedWhite:0.89 alpha:1.0];
}
+ (NSColor *)PRForegroundColor {
return [NSColor colorWithCalibratedWhite:0.97 alpha:1.0];
}
+ (NSColor *)PRForegroundBorderColor {
return [NSColor colorWithCalibratedWhite:0.75 alpha:1.0];
}
+ (NSColor *)PRSidebarBackgroundColor {
return [NSColor colorWithDeviceRed:218./255. green:223./255. blue:230./255. alpha:1.0];
}
+ (NSColor *)PRBrowserBackgroundColor {
return [NSColor colorWithDeviceRed:240./255. green:244./255. blue:249./255. alpha:1.0];
}
+ (NSColor *)transparent {
return [NSColor colorWithCalibratedWhite:0 alpha:0.0];
}
@end