The final section that can be customised is the widget section. This defines the look
and feel of Control Panel widgets. Values are returned from the
getWidgetTheme()
method.
The following list shows the values that can be set.
Example 2.4. Specifying the widget theme
<?php class Theme_sample extends Application_Cp_Theme_Default { public function getWidgetTheme() { $ret = parent::getWidgetTheme(); //$ret->borderColor('#'); //$ret->headerBgColor('#'); //$ret->headerTextColor('#'); //$ret->headerLinkTextColor('#'); //$ret->buttonPaneBgColor('#'); return $ret; } } ?>