Differential D13363 Diff 32360 src/applications/celerity/postprocessor/CelerityHighContrastPostprocessor.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/celerity/postprocessor/CelerityHighContrastPostprocessor.php
- This file was added.
<?php | |||||
final class CelerityHighContrastPostprocessor | |||||
extends CelerityPostprocessor { | |||||
epriestley: You can add more postprocessors to address other visual constraints by creating more classes… | |||||
public function getPostprocessorKey() { | |||||
return 'contrast'; | |||||
} | |||||
public function getPostprocessorName() { | |||||
return pht('Use High Contrast Colors'); | |||||
} | |||||
public function buildVariables() { | |||||
return array( | |||||
'page.background.light' => '#dfdfdf', | |||||
'page.background.dark' => '#dfdfdf', | |||||
'lightblueborder' => '#000099', | |||||
'blueborder' => '#000066', | |||||
'lightbluetext' => '#333366', | |||||
Not Done Inline ActionsYou can add more overrides here. Anything not specified will use the defaults. epriestley: You can add more overrides here. Anything not specified will use the defaults. | |||||
'bluetext' => '#222244', | |||||
); | |||||
} | |||||
} |
You can add more postprocessors to address other visual constraints by creating more classes like this one.