{{ page.hero }} - {% include '@olivessdu/includes/lp-banner.html.twig' %} + {% include '@olivesbdh/includes/lp-banner.html.twig' %}
{{ page.highlighted }} {{ page.breadcrumb }} diff --git a/templates/layout/page.html.twig b/templates/layout/page.html.twig index f37e435..99cdabc 100755 --- a/templates/layout/page.html.twig +++ b/templates/layout/page.html.twig @@ -1,7 +1,7 @@ {# /** * @file - * Olivessdu's theme implementation to display a single page. + * Olivesbdh's theme implementation to display a single page. * * The doctype, html, head and body tags are not in this template. Instead they * can be found in the html.html.twig template normally located in the diff --git a/templates/layout/region--breadcrumb.html.twig b/templates/layout/region--breadcrumb.html.twig index 56d4098..f813a31 100755 --- a/templates/layout/region--breadcrumb.html.twig +++ b/templates/layout/region--breadcrumb.html.twig @@ -1,7 +1,7 @@ {# /** * @file - * Olivessdu's theme override to display the breadcrumb region. + * Olivesbdh's theme override to display the breadcrumb region. * * Available variables: * - content: The content for this region, typically blocks. diff --git a/templates/layout/region--content-above.html.twig b/templates/layout/region--content-above.html.twig index ba1b6f0..fd89e2f 100755 --- a/templates/layout/region--content-above.html.twig +++ b/templates/layout/region--content-above.html.twig @@ -1,7 +1,7 @@ {# /** * @file - * Olivessdu's theme override to display the content above region. + * Olivesbdh's theme override to display the content above region. * * Available variables: * - content: The content for this region, typically blocks. diff --git a/templates/layout/region--content-below.html.twig b/templates/layout/region--content-below.html.twig index 15880c7..31c3c0a 100755 --- a/templates/layout/region--content-below.html.twig +++ b/templates/layout/region--content-below.html.twig @@ -1,7 +1,7 @@ {# /** * @file - * Olivessdu's theme override to display the content below region. + * Olivesbdh's theme override to display the content below region. * * Available variables: * - content: The content for this region, typically blocks. @@ -19,7 +19,7 @@ ] %} -{{ attach_library('olivessdu/content-below') }} +{{ attach_library('olivesbdh/content-below') }} {% if content %} diff --git a/templates/layout/region--content.html.twig b/templates/layout/region--content.html.twig index 62e6682..5e32059 100755 --- a/templates/layout/region--content.html.twig +++ b/templates/layout/region--content.html.twig @@ -1,7 +1,7 @@ {# /** * @file - * Olivessdu's theme override to display the content region. + * Olivesbdh's theme override to display the content region. * * Available variables: * - content: The content for this region, typically blocks. diff --git a/templates/layout/region--footer-bottom.html.twig b/templates/layout/region--footer-bottom.html.twig index afa1556..e25fb56 100755 --- a/templates/layout/region--footer-bottom.html.twig +++ b/templates/layout/region--footer-bottom.html.twig @@ -1,7 +1,7 @@ {# /** * @file - * Olivessdu's theme override to display the footer bottom region. + * Olivesbdh's theme override to display the footer bottom region. * * Available variables: * - content: The content for this region, typically blocks. diff --git a/templates/layout/region--footer-top.html.twig b/templates/layout/region--footer-top.html.twig index b4cf5b8..3cab3b4 100755 --- a/templates/layout/region--footer-top.html.twig +++ b/templates/layout/region--footer-top.html.twig @@ -1,7 +1,7 @@ {# /** * @file - * Olivessdu's theme override to display the footer top region. + * Olivesbdh's theme override to display the footer top region. * * Available variables: * - content: The content for this region, typically blocks. diff --git a/templates/layout/region--header.html.twig b/templates/layout/region--header.html.twig index 2257e59..b2627a3 100755 --- a/templates/layout/region--header.html.twig +++ b/templates/layout/region--header.html.twig @@ -1,7 +1,7 @@ {# /** * @file - * Olivessdu's theme override to display the header region. + * Olivesbdh's theme override to display the header region. * * Available variables: * - content: The content for this region, typically blocks. diff --git a/templates/layout/region--highlighted.html.twig b/templates/layout/region--highlighted.html.twig index 733205e..b8c9055 100755 --- a/templates/layout/region--highlighted.html.twig +++ b/templates/layout/region--highlighted.html.twig @@ -1,7 +1,7 @@ {# /** * @file - * Olivessdu's theme override to display the content region. + * Olivesbdh's theme override to display the content region. * * Available variables: * - content: The content for this region, typically blocks. diff --git a/templates/layout/region--primary-menu.html.twig b/templates/layout/region--primary-menu.html.twig index 234e7f1..402ba6c 100755 --- a/templates/layout/region--primary-menu.html.twig +++ b/templates/layout/region--primary-menu.html.twig @@ -1,7 +1,7 @@ {# /** * @file - * Olivessdu's theme override to display the header region. + * Olivesbdh's theme override to display the header region. * * Available variables: * - content: The content for this region, typically blocks. diff --git a/templates/layout/region--secondary-menu.html.twig b/templates/layout/region--secondary-menu.html.twig index ab9681b..d0d1c80 100755 --- a/templates/layout/region--secondary-menu.html.twig +++ b/templates/layout/region--secondary-menu.html.twig @@ -1,7 +1,7 @@ {# /** * @file - * Olivessdu's theme override to display the header region. + * Olivesbdh's theme override to display the header region. * * Available variables: * - content: The content for this region, typically blocks. diff --git a/templates/layout/region--sidebar.html.twig b/templates/layout/region--sidebar.html.twig index f3e464f..2bbf576 100755 --- a/templates/layout/region--sidebar.html.twig +++ b/templates/layout/region--sidebar.html.twig @@ -1,7 +1,7 @@ {# /** * @file - * Olivessdu's theme override to display the sidebar region. + * Olivesbdh's theme override to display the sidebar region. * * Available variables: * - content: The content for this region, typically blocks. @@ -19,7 +19,7 @@ ] %} -{{ attach_library('olivessdu/sidebar') }} +{{ attach_library('olivesbdh/sidebar') }} {% if content %} diff --git a/templates/layout/region--social.html.twig b/templates/layout/region--social.html.twig index 7c17632..7930ed0 100755 --- a/templates/layout/region--social.html.twig +++ b/templates/layout/region--social.html.twig @@ -1,7 +1,7 @@ {# /** * @file - * Olivessdu's theme override to display the social region. + * Olivesbdh's theme override to display the social region. * * Available variables: * - content: The content for this region, typically blocks. diff --git a/templates/layout/region.html.twig b/templates/layout/region.html.twig index 31e187d..dbc3ea9 100755 --- a/templates/layout/region.html.twig +++ b/templates/layout/region.html.twig @@ -1,7 +1,7 @@ {# /** * @file - * Olivessdu's theme override to display a region. + * Olivesbdh's theme override to display a region. * * Available variables: * - content: The content for this region, typically blocks. diff --git a/templates/maintenance-page.html.twig b/templates/maintenance-page.html.twig index 6ee4c44..601f849 100755 --- a/templates/maintenance-page.html.twig +++ b/templates/maintenance-page.html.twig @@ -1,7 +1,7 @@ {# /** * @file - * Olivessdu's theme implementation to display a single Drupal page while offline. + * Olivesbdh's theme implementation to display a single Drupal page while offline. * * All available variables are mirrored in page.html.twig. * @@ -45,10 +45,10 @@ {% endif %}
-
+
{{ page.content }} - {% include "@olivessdu/../images/site-under-maintenance-icon.svg" %} + {% include "@olivesbdh/../images/site-under-maintenance-icon.svg" %}
diff --git a/templates/menu-local-action.html.twig b/templates/menu-local-action.html.twig index 6156218..e9d3641 100755 --- a/templates/menu-local-action.html.twig +++ b/templates/menu-local-action.html.twig @@ -12,6 +12,6 @@ * @ingroup themeable */ #} -{{ attach_library('olivessdu/local-actions') }} +{{ attach_library('olivesbdh/local-actions') }} {{ link }} diff --git a/templates/mirador.html.twig b/templates/mirador.html.twig index eb0e3da..febf30b 100755 --- a/templates/mirador.html.twig +++ b/templates/mirador.html.twig @@ -59,5 +59,5 @@ {{ attach_library('islandora_mirador/viewer') }} -{{ attach_library('olivessdu/mirador-mods') }} +{{ attach_library('olivesbdh/mirador-mods') }} diff --git a/templates/misc/feed-icon.html.twig b/templates/misc/feed-icon.html.twig index 572da29..5e70aea 100755 --- a/templates/misc/feed-icon.html.twig +++ b/templates/misc/feed-icon.html.twig @@ -12,13 +12,13 @@ */ #} -{{ attach_library('olivessdu/feed') }} +{{ attach_library('olivesbdh/feed') }} {{ title }} diff --git a/templates/misc/status-messages.html.twig b/templates/misc/status-messages.html.twig index 0dab35a..fb85ecd 100755 --- a/templates/misc/status-messages.html.twig +++ b/templates/misc/status-messages.html.twig @@ -19,7 +19,7 @@ * - class: HTML classes. */ #} -{{ attach_library('olivessdu/messages') }} +{{ attach_library('olivesbdh/messages') }}
@@ -44,13 +44,13 @@

{{ status_headings[type] }}

{% if type == 'error' %} - {% include "@olivessdu/../images/error.svg" %} + {% include "@olivesbdh/../images/error.svg" %} {% elseif type == 'warning' %} - {% include "@olivessdu/../images/warning.svg" %} + {% include "@olivesbdh/../images/warning.svg" %} {% elseif type == 'status' %} - {% include "@olivessdu/../images/status.svg" %} + {% include "@olivesbdh/../images/status.svg" %} {% elseif type == 'info' %} - {% include "@olivessdu/../images/info.svg" %} + {% include "@olivesbdh/../images/info.svg" %} {% endif %}
diff --git a/templates/navigation/book-navigation.html.twig b/templates/navigation/book-navigation.html.twig index 49f2d72..31f3dd2 100755 --- a/templates/navigation/book-navigation.html.twig +++ b/templates/navigation/book-navigation.html.twig @@ -26,10 +26,10 @@ * - book_title: The book/node title of the current outline being viewed. * * @see template_preprocess_book_navigation() - * @see olivessdu_preprocess_book_navigation() + * @see olivesbdh_preprocess_book_navigation() */ #} -{{ attach_library('olivessdu/book') }} +{{ attach_library('olivesbdh/book') }} {% if tree or has_links %}
{% elseif empty %} - {% include '@olivessdu/includes/get-started.html.twig' %} + {% include '@olivesbdh/includes/get-started.html.twig' %} {% endif %} {% if pager %} diff --git a/templates/views/views-view-grid.html.twig b/templates/views/views-view-grid.html.twig index 8054119..45c0da5 100755 --- a/templates/views/views-view-grid.html.twig +++ b/templates/views/views-view-grid.html.twig @@ -24,7 +24,7 @@ * @see template_preprocess_views_view_grid() */ #} -{{ attach_library('olivessdu/layout-views-grid') }} +{{ attach_library('olivesbdh/layout-views-grid') }} {% set classes = [ diff --git a/theme-settings.php b/theme-settings.php index d2c5ead..c6227d9 100755 --- a/theme-settings.php +++ b/theme-settings.php @@ -2,7 +2,7 @@ /** * @file - * Functions to support Olivessdu theme settings. + * Functions to support Olivesbdh theme settings. */ use Drupal\Core\Form\FormStateInterface; @@ -10,9 +10,9 @@ use Drupal\Core\Form\FormStateInterface; /** * Implements hook_form_FORM_ID_alter() for system_theme_settings. */ -function olivessdu_form_system_theme_settings_alter(&$form, FormStateInterface $form_state) { - $form['#validate'][] = 'olivessdu_theme_settings_validate'; - $form['#attached']['library'][] = 'olivessdu/color-picker'; +function olivesbdh_form_system_theme_settings_alter(&$form, FormStateInterface $form_state) { + $form['#validate'][] = 'olivesbdh_theme_settings_validate'; + $form['#attached']['library'][] = 'olivesbdh/color-picker'; $color_config = [ 'colors' => [ @@ -52,19 +52,19 @@ function olivessdu_form_system_theme_settings_alter(&$form, FormStateInterface $ ], ]; - $form['#attached']['drupalSettings']['olivessdu']['colorSchemes'] = $color_config['schemes']; + $form['#attached']['drupalSettings']['olivesbdh']['colorSchemes'] = $color_config['schemes']; - $form['olivessdu_settings']['olivessdu_utilities'] = [ + $form['olivesbdh_settings']['olivesbdh_utilities'] = [ '#type' => 'fieldset', - '#title' => t('Olivessdu Utilities'), + '#title' => t('Olivesbdh Utilities'), ]; - $form['olivessdu_settings']['olivessdu_utilities']['mobile_menu_all_widths'] = [ + $form['olivesbdh_settings']['olivesbdh_utilities']['mobile_menu_all_widths'] = [ '#type' => 'checkbox', '#title' => t('Enable mobile menu at all widths'), '#default_value' => theme_get_setting('mobile_menu_all_widths'), '#description' => t('Enables the mobile menu toggle at all widths.'), ]; - $form['olivessdu_settings']['olivessdu_utilities']['site_branding_bg_color'] = [ + $form['olivesbdh_settings']['olivesbdh_utilities']['site_branding_bg_color'] = [ '#type' => 'select', '#title' => t('Header site branding background color'), '#options' => [ @@ -74,18 +74,18 @@ function olivessdu_form_system_theme_settings_alter(&$form, FormStateInterface $ ], '#default_value' => theme_get_setting('site_branding_bg_color'), ]; - $form['olivessdu_settings']['olivessdu_utilities']['olivessdu_color_scheme'] = [ + $form['olivesbdh_settings']['olivesbdh_utilities']['olivesbdh_color_scheme'] = [ '#type' => 'fieldset', - '#title' => t('Olivessdu Color Scheme Settings'), + '#title' => t('Olivesbdh Color Scheme Settings'), ]; - $form['olivessdu_settings']['olivessdu_utilities']['olivessdu_color_scheme']['description'] = [ + $form['olivesbdh_settings']['olivesbdh_utilities']['olivesbdh_color_scheme']['description'] = [ '#type' => 'html_tag', '#tag' => 'p', - '#value' => t('These settings adjust the look and feel of the Olivessdu theme. Changing the color below will change the base hue, saturation, and lightness values the Olivessdu theme uses to determine its internal colors.'), + '#value' => t('These settings adjust the look and feel of the Olivesbdh theme. Changing the color below will change the base hue, saturation, and lightness values the Olivesbdh theme uses to determine its internal colors.'), ]; - $form['olivessdu_settings']['olivessdu_utilities']['olivessdu_color_scheme']['color_scheme'] = [ + $form['olivesbdh_settings']['olivesbdh_utilities']['olivesbdh_color_scheme']['color_scheme'] = [ '#type' => 'select', - '#title' => t('Olivessdu Color Scheme'), + '#title' => t('Olivesbdh Color Scheme'), '#empty_option' => t('Custom'), '#empty_value' => '', '#options' => [ @@ -102,7 +102,7 @@ function olivessdu_form_system_theme_settings_alter(&$form, FormStateInterface $ ]; foreach ($color_config['colors'] as $key => $title) { - $form['olivessdu_settings']['olivessdu_utilities']['olivessdu_color_scheme'][$key] = [ + $form['olivesbdh_settings']['olivesbdh_utilities']['olivesbdh_color_scheme'][$key] = [ '#type' => 'textfield', '#maxlength' => 7, '#size' => 10, @@ -113,16 +113,16 @@ function olivessdu_form_system_theme_settings_alter(&$form, FormStateInterface $ 'pattern' => '^#[a-fA-F0-9]{6}', ], '#wrapper_attributes' => [ - 'data-drupal-selector' => 'olivessdu-color-picker', + 'data-drupal-selector' => 'olivesbdh-color-picker', ], ]; } } /** - * Validation handler for the Olivessdu system_theme_settings form. + * Validation handler for the Olivesbdh system_theme_settings form. */ -function olivessdu_theme_settings_validate($form, FormStateInterface $form_state) { +function olivesbdh_theme_settings_validate($form, FormStateInterface $form_state) { if (!preg_match('/^#[a-fA-F0-9]{6}$/', $form_state->getValue('base_primary_color'))) { $form_state->setErrorByName('base_primary_color', t('Colors must be 7-character string specifying a color hexadecimal format.')); }