Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/phabricator
Path: blob/master/src/applications/celerity/postprocessor/CelerityHighContrastPostprocessor.php
12256 views
1
<?php
2
3
final class CelerityHighContrastPostprocessor
4
extends CelerityPostprocessor {
5
6
public function getPostprocessorKey() {
7
return 'contrast';
8
}
9
10
public function getPostprocessorName() {
11
return pht('Use High Contrast Colors');
12
}
13
14
public function buildVariables() {
15
return array(
16
'blue' => '#226B9B',
17
'sky' => '#226B9B',
18
'anchor' => '#226B9B',
19
20
'thinblueborder' => '#BFCFDA',
21
'lightblueborder' => '#8C98B8',
22
'blueborder' => '#626E82',
23
'timeline' => '#8C98B8',
24
25
'lightgreyborder' => '#555',
26
'greyborder' => '#333',
27
28
'lightbluetext' => '#555',
29
'bluetext' => '#333',
30
'darkbluetext' => '#000',
31
32
'lightgreytext' => '#555',
33
'greytext' => '#333',
34
'darkgreytext' => '#000',
35
36
'sh-redtext' => '#333',
37
'sh-redborder' => '#777',
38
39
'sh-greentext' => '#333',
40
'sh-greenborder' => '#777',
41
42
'sh-bluetext' => '#333',
43
'sh-blueborder' => '#777',
44
45
'sh-yellowtext' => '#333',
46
'sh-yellowborder' => '#777',
47
48
'sh-orangetext' => '#333',
49
'sh-orangeborder' => '#777',
50
51
'sh-violettext' => '#333',
52
'sh-violetborder' => '#777',
53
54
'sh-indigotext' => '#333',
55
'sh-indigoborder' => '#777',
56
57
'sh-pinktext' => '#333',
58
'sh-pinkborder' => '#777',
59
60
'sh-greytext' => '#333',
61
'sh-greyborder' => '#777',
62
63
'sh-disabledtext' => '#555',
64
'sh-disabledborder' => '#777',
65
66
67
);
68
}
69
70
}
71
72