Skip to content

Commit

Permalink
pkp/pkp-lib#3594 Convert theme option to new field classes
Browse files Browse the repository at this point in the history
  • Loading branch information
NateWr committed Feb 18, 2020
1 parent 44ce73c commit 63c7e84
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions DefaultManuscriptChildThemePlugin.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ public function init() {
}

// Add the option for an accent color
$this->addOption('accentColour', 'colour', array(
'label' => 'plugins.themes.defaultManuscript.option.accentColour.label',
'description' => 'plugins.themes.default.option.colour.description',
$this->addOption('accentColour', 'FieldColor', [
'label' => __('plugins.themes.defaultManuscript.option.accentColour.label'),
'description' => __('plugins.themes.default.option.colour.description'),
'default' => '#F7BC4A',
));
]);

// Load the Montserrat and Open Sans fonts
$this->addStyle(
Expand Down

0 comments on commit 63c7e84

Please sign in to comment.