Skinr's main purpose is to allow the theme to define a set of reusable and modular CSS styles, and to make those styles available in Drupal's UI. Skinr was developed for themers to allow them to tap into the power of Drupal's modularity and apply those same principals to theme development. It does not provide any styles of its own. These styles are defined in the .info file of the theme (or subtheme), by the themer and end up in various places in Drupal's UI, such as:

  • Block Configuration
  • Node Type (and Comment) Configuration
  • Panel Panes
  • Views Displays

It also provides a CSS class field, where you can manually add custom classes.

Who should use this module?

Here are a few examples, though there are many more possibilities.

  • You are a themer looking to dramatically reduce the size and bloat of your CSS files.
  • You want to be able to apply the same CSS across blocks, panel panes, views, nodes and comments.
  • You are developing a theme for a client and want the client to have more flexibility and access to a multitude of existing styles, after you've completed the project and handed it off.
  • You are a contrib theme developer who wants to provide multiple styles and allow the site administrator to be able to choose where to apply them.
  • You are a rebel who wants to rip out CSS classes in every possible template file and use your own instead, but need a better way to add your own classes back to Drupal.

Module developers can take advantage of Skinr using its API. Detailed documentation on how to do this is included in skinr.api.php, skinr_ui.api.php, and skinr_context.api.php.

This module was developed by Bala Bosch and Jacine Luisi of Gravitek Labs. Further maintenance is sponsored by Chapter Three. It was originally inspired by the blocktheme module.

Skinr Documentation

Documentation for Skinr 6.x-2.x is included in Skinr via the Advanced Help module.
Documentation for Skinr 7.x-2.x is available at Skinr.org.

Join our Group

Join the Skinr group on groups.drupal.org.

About Skinr 2

Read about the awesome new features in Skinr 2.

6.x-2.x NOTE: There are lots of changes in the new version. Backup your entire site before doing anything. It is STRONGLY recommended that you do NOT use this on production sites at this point.

Project Information

Downloads