Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F985358
CelerityRedGreenPostprocessor.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
604 B
Referenced Files
None
Subscribers
None
CelerityRedGreenPostprocessor.php
View Options
<?php
final
class
CelerityRedGreenPostprocessor
extends
CelerityPostprocessor
{
public
function
getPostprocessorKey
()
{
return
'redgreen'
;
}
public
function
getPostprocessorName
()
{
return
pht
(
'Use Red/Green (Deuteranopia) Colors'
);
}
public
function
buildVariables
()
{
return
array
(
'new-background'
=>
'rgba(152, 207, 235, .15)'
,
'new-bright'
=>
'rgba(152, 207, 235, .35)'
,
'old-background'
=>
'rgba(250, 212, 175, .3)'
,
'old-bright'
=>
'rgba(250, 212, 175, .55)'
,
'delete-color'
=>
'#e67e22'
,
'create-color'
=>
'#2980b9'
,
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Wed, Jun 18, 4:04 PM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
238190
Default Alt Text
CelerityRedGreenPostprocessor.php (604 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment