Skip to content

Commit

Permalink
Merge pull request #75 from CuBoulder/issue/1513
Browse files Browse the repository at this point in the history
Adds Sidebar color options
  • Loading branch information
jcsparks authored Dec 11, 2024
2 parents dd34c79 + 68a7de6 commit 1109489
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/SiteConfiguration.php
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,17 @@ public function buildThemeSettingsForm(array &$form, FormStateInterface &$form_s
'#description' => $this->t('Select a style for the main navigation menu.'),
];

$form['header']['ucb_sidebar_menu_style'] = [
'#type' => 'select',
'#title' => $this->t('Sidebar menu style'),
'#default_value' => theme_get_setting('ucb_sidebar_menu_style', $themeName) ?? 'gold',
'#options' => [
'gold' => $this->t('Gold'),
'light-gray' => $this->t('Light Gray'),
],
'#description' => $this->t('Select a style for the sidebar navigation menu.'),
];

$form['header']['ucb_breadcrumb_nav'] = [
'#type' => 'checkbox',
'#title' => $this->t('Show breadcrumb navigation on pages'),
Expand Down

0 comments on commit 1109489

Please sign in to comment.