Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F92732923
CelerityHighContrastPostprocessor.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sat, Nov 23, 06:08
Size
1 KB
Mime Type
text/x-php
Expires
Mon, Nov 25, 06:08 (2 d)
Engine
blob
Format
Raw Data
Handle
22500332
Attached To
rPH Phabricator
CelerityHighContrastPostprocessor.php
View Options
<?php
final
class
CelerityHighContrastPostprocessor
extends
CelerityPostprocessor
{
public
function
getPostprocessorKey
()
{
return
'contrast'
;
}
public
function
getPostprocessorName
()
{
return
pht
(
'Use High Contrast Colors'
);
}
public
function
buildVariables
()
{
return
array
(
'blue'
=>
'#226B9B'
,
'sky'
=>
'#226B9B'
,
'anchor'
=>
'#226B9B'
,
'thinblueborder'
=>
'#BFCFDA'
,
'lightblueborder'
=>
'#8C98B8'
,
'blueborder'
=>
'#626E82'
,
'lightgreyborder'
=>
'#555'
,
'greyborder'
=>
'#333'
,
'lightbluetext'
=>
'#555'
,
'bluetext'
=>
'#333'
,
'darkbluetext'
=>
'#000'
,
'lightgreytext'
=>
'#555'
,
'greytext'
=>
'#333'
,
'darkgreytext'
=>
'#000'
,
'sh-redtext'
=>
'#333'
,
'sh-redborder'
=>
'#777'
,
'sh-greentext'
=>
'#333'
,
'sh-greenborder'
=>
'#777'
,
'sh-bluetext'
=>
'#333'
,
'sh-blueborder'
=>
'#777'
,
'sh-yellowtext'
=>
'#333'
,
'sh-yellowborder'
=>
'#777'
,
'sh-orangetext'
=>
'#333'
,
'sh-orangeborder'
=>
'#777'
,
'sh-violettext'
=>
'#333'
,
'sh-violetborder'
=>
'#777'
,
'sh-indigotext'
=>
'#333'
,
'sh-indigoborder'
=>
'#777'
,
'sh-pinktext'
=>
'#333'
,
'sh-pinkborder'
=>
'#777'
,
'sh-greytext'
=>
'#333'
,
'sh-greyborder'
=>
'#777'
,
'sh-disabledtext'
=>
'#555'
,
'sh-disabledborder'
=>
'#777'
,
);
}
}
Event Timeline
Log In to Comment