-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
35 changed files
with
1,467 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Islandora Theme | ||
|
||
## License | ||
|
||
In following with GPLv2, this repo was generated as a subtheme of [drupal/bootstrap_barrio](https://www.drupal.org/project/bootstrap_barrio). | ||
The most notable changes after forking have been: | ||
|
||
- Custom template for the facets blocks | ||
- mobile styling for the /search page | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,130 @@ | ||
<?php | ||
|
||
/** | ||
* @file | ||
* Lists available colors and color schemes for the Bootstrap Barrio theme. | ||
*/ | ||
|
||
$info = [ | ||
// Available colors and color labels used in theme. | ||
'fields' => [ | ||
'top' => t('Header background top'), | ||
'bottom' => t('Header background bottom'), | ||
'bg' => t('Main background'), | ||
'sidebar' => t('Sidebar background'), | ||
'sidebarborders' => t('Sidebar borders'), | ||
'footer' => t('Footer background'), | ||
'button' => t('Primary button background'), | ||
'buttonhover' => t('Primary button hover'), | ||
'titleslogan' => t('Title and slogan'), | ||
'text' => t('Text color'), | ||
'link' => t('Link color'), | ||
], | ||
// Pre-defined color schemes. | ||
'schemes' => [ | ||
'default' => [ | ||
'title' => t('Blue Lagoon (default)'), | ||
'colors' => [ | ||
'top' => '#055a8e', | ||
'bottom' => '#1d84c3', | ||
'bg' => '#ffffff', | ||
'sidebar' => '#f6f6f2', | ||
'sidebarborders' => '#f9f9f9', | ||
'footer' => '#292929', | ||
'button' => '#007bff', | ||
'buttonhover' => '#0256b1', | ||
'titleslogan' => '#fffeff', | ||
'text' => '#3b3b3b', | ||
'link' => '#0071b3', | ||
], | ||
], | ||
'firehouse' => [ | ||
'title' => t('Firehouse'), | ||
'colors' => [ | ||
'top' => '#cd2d2d', | ||
'bottom' => '#d64e4e', | ||
'bg' => '#ffffff', | ||
'sidebar' => '#f1f4f0', | ||
'sidebarborders' => '#ededed', | ||
'footer' => '#1f1d1c', | ||
'button' => '#d6121f', | ||
'buttonhover' => '#a90f19', | ||
'titleslogan' => '#fffeff', | ||
'text' => '#888888', | ||
'link' => '#d6121f', | ||
], | ||
], | ||
'ice' => [ | ||
'title' => t('Ice'), | ||
'colors' => [ | ||
'top' => '#d0d0d0', | ||
'bottom' => '#c2c4c5', | ||
'bg' => '#ffffff', | ||
'sidebar' => '#ffffff', | ||
'sidebarborders' => '#cccccc', | ||
'footer' => '#016b83', | ||
'button' => '#019dbf', | ||
'buttonhover' => '#016c83', | ||
'titleslogan' => '#000000', | ||
'text' => '#4a4a4a', | ||
'link' => '#019dbf', | ||
], | ||
], | ||
'plum' => [ | ||
'title' => t('Plum'), | ||
'colors' => [ | ||
'top' => '#4c1c58', | ||
'bottom' => '#593662', | ||
'bg' => '#fffdf7', | ||
'sidebar' => '#edede7', | ||
'sidebarborders' => '#e7e7e7', | ||
'footer' => '#2c2c28', | ||
'button' => '#9d408d', | ||
'buttonhover' => '#77316b', | ||
'titleslogan' => '#ffffff', | ||
'text' => '#301313', | ||
'link' => '#9d408d', | ||
], | ||
], | ||
'slate' => [ | ||
'title' => t('Slate'), | ||
'colors' => [ | ||
'top' => '#4a4a4a', | ||
'bottom' => '#4e4e4e', | ||
'bg' => '#ffffff', | ||
'sidebar' => '#ffffff', | ||
'sidebarborders' => '#d0d0d0', | ||
'footer' => '#161617', | ||
'button' => '#0073b6', | ||
'buttonhover' => '#00517f', | ||
'titleslogan' => '#ffffff', | ||
'text' => '#3b3b3b', | ||
'link' => '#0073b6', | ||
], | ||
], | ||
], | ||
|
||
// CSS files (excluding @import) to rewrite with new color scheme. | ||
'css' => [ | ||
'css/colors.css', | ||
], | ||
|
||
// Files to copy. | ||
'copy' => [ | ||
'logo.svg', | ||
], | ||
|
||
// Preview files. | ||
'preview_library' => 'isle/color.preview', | ||
'preview_html' => 'color/preview.html', | ||
|
||
// Attachments. | ||
'#attached' => [ | ||
'drupalSettings' => [ | ||
'color' => [ | ||
// Put the logo path into JavaScript for the live preview. | ||
'logo' => theme_get_setting('logo.url', 'isle'), | ||
], | ||
], | ||
], | ||
]; |
Oops, something went wrong.