Richard Moger
We build Drupal sites
Richard Moger
Richard Moger
Perfectly valid for many projects
Modern flat feel
Comes with stack of pre-defined base classes
Typography
forms & other UI elements
Navigation elements
Can be compiled with some or all features, reducing bloat
Nothing against other 3rd party frameworks
Lower level ones don't seem to make sense within Drupal context, use base theme
Vagrant for local dev
VLAD/Custom-settings extends VLAD
Node/Libsass used to compile SCSS partials to minified CSS
Alternatively Ruby/Compass
//run grunt on host not vm
cd /var/www/sites/[myproject]/docroot/sites/all/themes/[subthemename]
sudo npm install -g bower grunt-cli
npm install
grunt
drush dl zurb_foundation --select //select version
drush en zurb_foundation
drush cc all
drush fst [subthemename]
// We use these to style paragraphs
$paragraph-font-family: inherit;
// $paragraph-font-weight: normal;
$paragraph-font-weight: 300;
// $paragraph-font-size: 1rem;
// $paragraph-line-height: 1.6;
// $paragraph-margin-bottom: rem-calc(20);
// $paragraph-aside-font-size: rem-calc(14);
// $paragraph-aside-line-height: 1.35;
// $paragraph-aside-font-style: italic;
// $paragraph-text-rendering: optimizeLegibility;
1200 lines of settings
fairly granular
custom mixins
<div class="row">
<div class="small-2 medium-3 large-4 columns">London column 1</div>
<div class="small-2 medium-3 large-4 columns">London column 2</div>
<div class="small-2 medium-3 large-4 columns">London column 3</div>
<div class="small-2 medium-3 large-4 columns">London column 4</div>
</div>
Buttons
Text
Button groups
Text
Forms
Text
Slides
https://slides.com/richardmoger/responsive-theming-drupal-foundation-5
Say hello
@richardmoger
richard.moger AT claritis.co.uk
www.claritis.co.uk
By Richard Moger
Drupalcamp London 2015