Page MenuHomestyx hydra

CelerityRedGreenPostprocessor.php
No OneTemporary

CelerityRedGreenPostprocessor.php

<?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)',
);
}
}

File Metadata

Mime Type
text/x-php
Expires
Mon, Dec 1, 4:25 PM (1 d, 16 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
430727
Default Alt Text
CelerityRedGreenPostprocessor.php (533 B)

Event Timeline