-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMyColors.m
71 lines (62 loc) · 2.27 KB
/
MyColors.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
62
63
64
65
66
67
68
69
70
71
/*
* MyTermColors, a SIMBL plugin to change Terminal.app's colors
* Copyright (C) 2009 Hugo Camboulive <hugo.camboulive AT gmail.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This plugin is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#import "MyColors.h"
@implementation MyColors : NSColor
+ (id)vtRedColor {
return [NSColor colorWithDeviceRed: 0.64 green: 0.34 blue: 0.34 alpha: 1.0];
}
+ (id)vtBrightRedColor {
return [NSColor colorWithDeviceRed: 0.64 green: 0.34 blue: 0.34 alpha: 1.0];
}
+ (id)vtGreenColor {
return [NSColor colorWithDeviceRed: 0.48 green: 0.77 blue: 0.44 alpha: 1.0];
}
+ (id)vtBrightGreenColor {
return [NSColor colorWithDeviceRed: 0.48 green: 0.77 blue: 0.44 alpha: 1.0];
}
+ (id)vtYellowColor {
return [NSColor colorWithDeviceRed: 0.87 green: 0.88 blue: 0.31 alpha: 1.0];
}
+ (id)vtBrightYellowColor {
return [NSColor colorWithDeviceRed: 0.87 green: 0.88 blue: 0.31 alpha: 1.0];
}
+ (id)vtBlueColor {
return [NSColor colorWithDeviceRed: 0.31 green: 0.51 blue: 0.70 alpha: 1.0];
}
+ (id)vtBrightBlueColor {
return [NSColor colorWithDeviceRed: 0.39 green: 0.58 blue: 0.76 alpha: 1.0];
}
+ (id)vtMagentaColor {
return [NSColor colorWithDeviceRed: 0.72 green: 0.505 blue: 0.675 alpha: 1.0];
}
+ (id)vtBrightMagentaColor {
return [NSColor colorWithDeviceRed: 0.784 green: 0.4 blue: 0.705 alpha: 1.0];
}
+ (id)vtCyanColor {
return [NSColor colorWithDeviceRed: 0.53 green: 0.53 blue: 0.625 alpha: 1.0];
}
+ (id)vtBrightCyanColor {
return [NSColor colorWithDeviceRed: 0.53 green: 0.53 blue: 0.625 alpha: 1.0];
}
+ (id)vtWhiteColor {
return [NSColor colorWithDeviceRed: 0.94 green: 0.94 blue: 0.94 alpha: 1.0];
}
+ (id)vtBrightWhiteColor {
return [NSColor colorWithDeviceRed: 1.0 green: 1.0 blue: 1.0 alpha: 1.0];
}
@end