Bedrock
Categories
Component ID
2160253
Component name
Bedrock
Component type
module
Maintenance status
Development status
Component security advisory coverage
not-covered
Downloads
2910
Component created
Component changed
Component body
A helper module for OpenSourcery's theme system
Description
Bedrock was initially developed as a base theme for Drupal. The idea to make it a helper module came from the desire to inherit and benefit from an existing theme foundation built on Aurora and the Singularity grid system. By taking advantage of Aurora's sub-theme structure, Bedrock has grown to become a robust set of helper tools for a theme system including:
- Responsive Panel Layouts (also compatible with Display Suite)

- Fieldable Panel Panes (submodule)
- @TODO Accordion
- Content lister
- Free-form text or HTML
- Image link
- Slide (for use in a Slideshow)
- Slideshow
- @TODO Tabs
- Tout
- Views Plugins (submodule)
- Dropdown button row style
- WYSIWYG Templates (submodule)
- Accordion
- Slideshow
- Tabs
- @TODO Entity View Modes
Requirements
Ruby Gems
- Sass
- Compass
- Breakpoint - Media Query Handling
- Singularity - Fluid grid framework
- Toolkit - Modern Web Development tools
Drupal modules
Suggestions
- Alphecca - SASS and JS library for quick prototyping and basic functionality/styles
- Aurora - Drupal base theme. You can use whatever theme you want, but we use the Aurora stack and as such that is what we have tested these tools with.
Directions
- Download or clone the Bedrock repository and place the module in one of the suggested locations best suited to your Drupal setup.
- Enable the module and configure a panel page to use one of the Bedrock layouts.
- Copy and import the Sass partials to your theme's SMACSS-based layout. For example, if you're using the Basalt panel layout, copy plugins/layouts/basalt/sass/partials/_basalt.scss to your theme's Sass structure and include in your layout partial using
@import 'basalt'. We recommend structuring your partials, so you may want to place them in named subdirectories, resulting in@import 'basalt/basalt'. - Ensure your theme declares the required variables listed at the top of the Sass layout partial you've included in your theme. For example, if you're using the Basalt panel layout, the following variables are required:
$small, $medium, $large, $xlarge (global breakpoints),$grids, and$gutters. Please see the Singularity documentation for$gridsand$guttersusage. - @TODO Finish directions.
