forked from TiddoLangerak/tracegl
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy paththemes.js
More file actions
111 lines (109 loc) · 3.1 KB
/
themes.js
File metadata and controls
111 lines (109 loc) · 3.1 KB
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
// | Themes |___________________________________/
// |
// | (C) Mozilla Corp
// | licensed under MPL 2.0 http://www.mozilla.org/MPL/
// \____________________________________________/
define(function(require, exports){
function hex(c){ return 'vec4('+(((c>>16)&0xff)/255)+','+(((c>>8)&0xff)/255)+','+((c&0xff)/255)+',1)' }
function hexs(c){ return hex(parseInt(c,16)) }
exports.dark = {
subpx: 'vec4(0,0,0,1)',
dlgbg: hexs('808080'),
dlgbg: hexs('8F8F94'),
dlghi: hexs('9996e2'),
sliderbase: 'vec4(0,0,0,0.1)',
splitter1: hexs('333333'),
splitter2: hexs('444444'),
splitter3: hexs('777777'),
dlgtxt: hexs('FFFFFF'),
defbg2: hexs('000000'),
defbg: hexs('333333'),
deftxt: hexs('D3D3D3'),
deftbg: hexs('7f7f7f'),
selbg: hexs('9996e2'),
seltxt: hexs('000000'),
codeHover: hexs('2E2D52'),
codeSelect : hexs('424171'),
codeMark : hexs('424171'),
// codeMark : hexs('035487'),
// codeSelect: hexs('033b6e'),
codeCursor: hexs('FFFFFF'),
codeBg2: hexs('4c4c4c'),
codeCall: hexs('033b6e'),
codeSelf: hexs('4D55A1'),
codeArg: hexs('032c54'),
codeBg: hexs('151426'),
// codeBg: hexs('001e3e'),
codeFg: hexs('FFFFFF'),
codeLineBg: hexs('001625'),
codeLine: hexs('7a909e'),
codeTab: hexs('3f5c73'),
codeNumber: hexs('fb638d'),
codeVardef: hexs('fdec85'),
codeName: hexs('FFFFFF'),
codeString: hexs('3ed625'),
codeOperator: hexs('f59c25'),
codeComment: hexs('1a89f3'),
codeColor1: hexs('ffcccc'),
codeColor2: hexs('ffe0cc'),
codeColor3: hexs('fffecc'),
codeColor4: hexs('c7f5c4'),
codeColor5: hexs('c4f0f4'),
codeColor6: hexs('c9c4f4'),
codeColor7: hexs('f6c6e6'),
codeColor8: hexs('ffffff'),
codeExNone: hexs('660000'),
codeExOnce: hexs('006600'),
codeExMany: hexs('0B615E')
}
exports.light = {
subpx: 'vec4(0,0,0,0.4)',
dlgbg: hexs('FFFFFF'),
// dlgbg: hexs('8F8F94'),
dlghi: hexs('efefef'),
sliderbase: 'vec4(0,0,0,0.1)',
splitter1: hexs('5f5f5f'),
splitter2: hexs('6f6f6f'),
splitter3: hexs('9f9f9f'),
dlgtxt: hexs('FFFFFF'),
defbg2: hexs('3f3f3f'),
defbg: hexs('6f6f6f'),
deftxt: hexs('FFFFFF'),
deftbg: hexs('7f7f7f'),
selbg: hexs('9996e2'),
seltxt: hexs('000000'),
codeHover: hexs('FFF7C2'),
codeSelect : hexs('d3e2f4'),
codeMark : hexs('FFED75'),
// codeMark : hexs('035487'),
// codeSelect: hexs('033b6e'),
codeCursor: hexs('000000'),
codeBg2: hexs('ffffff'),
codeCall: hexs('E0E6FF'),
codeSelf: hexs('F2D9FC'),
codeArg: hexs('D9E0FF'),
// codeBg: hexs('001e3e'),
codeBg: hexs('ededed'),
codeFg: hexs('000000'),
codeLineBg: hexs('d3e2f4'),
codeLine: hexs('808080'),
codeTab: hexs('3f5c73'),
codeNumber: hexs('0000FF'),
codeVardef: hexs('8B0000'),
codeName: hexs('000000'),
codeString: hexs('006400'),
codeOperator: hexs('f59c25'),
codeComment: hexs('0000FF'),
codeColor1: hexs('539a2f'),
codeColor2: hexs('9aa633'),
codeColor3: hexs('ac8935'),
codeColor4: hexs('ac4d35'),
codeColor5: hexs('a13143'),
codeColor6: hexs('942d8b'),
codeColor7: hexs('592d94'),
codeColor8: hexs('2d3894'),
codeExNone: hexs('FFE0E0'),
codeExOnce: hexs('DDF0CE'),
codeExMany: hexs('D6FFFE')
}
})