Styler adds support for nested stylesheets

What happens when you have a really big application? You wind up with a ton of stylesheets in public/stylesheets. It can get messy.

That's why Styler now supports nested stylesheet directories.

To use this feature, just create subdirectories in public/stylesheets for each of your controllers, and then add stylesheets for individual actions you wish to style.

  • Styles for an entire controller should be stored in controller.css
  • Styles for specific actions should be stored in controller/action.css

Also... there's no configuration required, and you can use flat and nested sheets interchangeably.

July 15, 2007

New comments are disabled right now. Once we finish migrating this blog, we'll restore them.