Friday 5: 5 Scars from Sass
Happy Friday, everybody! This episode we talk to Theme Manager Zack Hawkins about some of his pain points of using the Sass preprocessor. It's like therapy, but without the couch.
Things that keep Zack up at night include:
- Naming Color Variables
- Third Party Libraries
- Too Many Mixins
- Using Extends
- Dynamic Selectors
- Clowns (Actually that's me)
Converting a Drupal 7 theme from CSS to Sass
I recently inherited a Drupal 7 theme that did not use CSS preprocessors like Sass or Less. While the CSS files were clearly organized, they contained more than 15,000 lines of code which made maintainability a difficult task.
Responsive Web Design using Sass at Drupalcamp Los Angeles
I'm very excited to be a featured speaker at this year's DrupalCamp Los Angeles on Saturday, September 6th and Sunday, September 7th. This event, held at annually at the conference center at the University of California, Irvine, is a free event for the Drupal Community of Los Angeles, Orange County, and the Greater Southern California area. My session will focus on Responsive Web Design using Sass.
Using Sass Breakpoints Effectively
There have been plenty of blog posts touting the reasons to use Sass as a CSS preprocessor, and if you've been doing responsive design for a while, you're probably already using the Breakpoint gem with Sass. But there are many ways to use both of these tools, so let's talk about using breakpoints effectively.
Start with the small screen first, then expand until it looks like sh*t. Time for a breakpoint!
- Stephen Hay.
Sass Breakpoint Mixin Meets IE8
If you're familiar with Sass, you're probably well aware of the Breakpoint mixin and it's awesomeness. It's a tool that makes using media queries extremely easy. Instead of having to break up your CSS into large chunks by breakpoint or even into separate stylesheets, you can organize your CSS by base elements, layout, module, state, or theme.