Skip to Content
Responsive Theming for Drupal
book

Responsive Theming for Drupal

by Mike Crittenden
February 2014
Intermediate to advanced
78 pages
1h 32m
English
O'Reilly Media, Inc.
Content preview from Responsive Theming for Drupal

Chapter 4. Responsive Theming With Aurora

Drupal theming trends have slowly but surely been keeping up with the rest of the frontend world, and one of the leaders of this movement is Sam Richard (aka Snugug) and his Aurora theme. Aurora integrates Sass and Compass into a Drupal theming workflow, and is optimized for mobile-first and responsive design.

Beyond that, it’s fairly minimal as base themes go—it basically integrates Sass and Compass into Drupal, sets up a code structure for your Sass, and leaves the rest of the decisions up to you.

In this chapter, we’ll put the Sass and Compass intro from the last chapter to good use by walking through the setup and configuration of both the theme itself and a Sass/Compass theming development environment. We’ll be touching the command line a bit, but don’t fret, it’s very simple.

Pros and Cons

Aurora is nice because it’s a nimble, lightweight theme with just enough functionality to make you feel like you’re not missing out. It sets you up with Sass/Compass and gives you some starter variables and a Sass grid system (Singularity, which we’ll get to later) but doesn’t hand you a bulky UI for managing layouts or anything like that.

Aurora also gives you the power of the absolute latest and greatest frontend tools. You get Sass/Compass complete with a bunch of useful plug-ins, Bower for package management and Grunt for task management (complete with “Sass compiling, JS hinting, Image Optimization, and app-free live reloading out of the box”), as ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

The Definitive Guide to Drupal 7

The Definitive Guide to Drupal 7

Greg Stout, Michelle Lauer, Mike Ryan, Stéphane Corlosquet, Nathaniel Catchpole, Robin Monks, Dan Hakimzadeh, Jacine Luisi, Kasey Qynn Dolin, George Cassie, Albert Albala, Bojhan Somers, Dmitri Gaskin, Stefan Freudenberg, Jake Strawn, Allie Micka, Florian Lorétan, Sam Boyer, Forest Mars, Mike Gifford, Susan Stewart, Peter Wolanin, Roy Scholten, Robert Douglass, Greg Anderson, Brian Travis, Kay VanValkenburgh, Ryan Szrama, Amye Scavarda, Benjamin Melançon, Ed Carlevale, Dani Nordin, Claudina Sarahe, Károly Négyesi
Mastering Drupal 8

Mastering Drupal 8

Chaz Chumley, William Hurley

Publisher Resources

ISBN: 9781449373306Errata