Benefits of using Skinr

Skinr can help you improve your themes in a few important ways, but most importantly it can help you modularize your CSS.

  1. Easily reuse, and get the most out of your CSS code

    When coding with Skinr, you’re able to take a fresh approach to writing CSS for your theme. Using multiple classes, separating structural from presentational styles, and taking advantage of the cascade can allow you to write and extend your own mini frameworks for common coding tasks. This can make sharing code publicly or simply from one project to the next much easier.

  2. Plug in your own classes in where you want them

    When writing HTML from scratch it’s very easy to reuse your classes as you please. Since Drupal generates the majority of markup for you, it isn’t always easy to plug in your classes where you need them. Instead of repeating selectors and targeting ID attributes, or loading up preprocess functions with logic to add classes, you can use Skinr to write code once and apply by pointing and clicking where needed.

  3. Allow site administrators to apply styles

    When development of a site is finished, even the best Drupal themes have limitations as far as styling new content is concerned. Complex designs often have at least a few different block styles, and while you can create default styles for them, by type and even location, those styles are set in stone. Skinr can help you solve this problem. When written properly, you’ll be able to apply them all over your site to new and existing content.

    Since the skins are available in the administrative interface, you can allow trusted site administrators to apply them. Not only will this save you time in the future, it makes your theme a lot more flexible and ultimately gives it a longer shelf life. It also makes clients and developers happy because they can control the appearance of the theme without having deal with code.