Underscores WordPress Starter Theme Adds Support for Sass

Underscores community project contributors announced today that the theme now includes support for Sass. The popular WordPress starter theme is an open source project maintained by Automattic, and many of its users requested Sass support, according to contributor Tammie Lister. “The community firstly asked for Sass. As Sass is in core, this makes sense. It was already part of most themers’ workflow.”

If you visit Underscores.me and click on “Advanced Options”, you’ll now find that you can check a box to add Sass support:


Lister emphasized in the announcement that support for Sass is included in a way that gives developers the freedom to use it as they please:

Not everyone compiles or uses Sass the same, so _s shouldn’t force anyone to follow one path or another. In this sense, the Sass provided takes a pure approach, not requiring Compass or any other scripts.

Sass support came about from a combination of numerous pull requests and forks of the project on GitHub. However, the project’s contributors do not wish to limit everyone to Sass and are open to other CSS preprocessors. “I’d still love to see a fork of Less for _s. We’re keen it opens up the way to other preprocessors,” Lister told the Tavern regarding the Sass support announced today.

Earlier this year, WordPress.com formally opened up its marketplace to theme developers. Theme submission guidelines are fairly strict and developers are encouraged to use the _s theme for a head start. While many theme authors appreciate the ability to save time with mixins and variables, using a preprocessor is not required for submitting to WordPress.com.

Every WordPress themer has a unique workflow that may or may not involve a preprocessor, and the Underscores project contributors plan to respect that. “_s doesn’t tell you how to do things, it gives you a start. Anything we add to it should also do that,” Lister said.

The addition of Sass support marks another turning point for the project, as Lister notes that the GitHub repository will now be used solely for development. If you want to use Underscores in a project, the team encourages you to download it directly from Underscores.me.


10 responses to “Underscores WordPress Starter Theme Adds Support for Sass”


Subscribe Via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

%d bloggers like this: