Linode VPS Hosting, Starting at $19.95/month!

Get 2GB of Free Space from Dropbox

You are here

Skinr

We're currently seeking a co-maintainer for this module to work on the 6.x and 7.x branches. Please start by submitting patches for review and then open an issue in the queue requesting co-maintainership. Thank you!

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 docs.php.

This module was developed by Bala Bosch and Jacine Rodriguez of Gravitek Labs. It was originally inspired by the blocktheme module.

Skinr Documentation

Documentation for Skinr 2 is included in Skinr via the Advanced Help module.

Join our Group

Join the Skinr group on groups.drupal.org.

Help us test out the new version

Read about the awesome new features coming in Skinr 2 and get update and testing instructions.

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.

Available Releases: 
6.x
License: 
Created: 
Friday, September 10, 2010 - 18:24