** Style Settings (http://drupal.org/project/style_settings) provides nearly identical functionality. I recommend using it instead of this project. **

CSS Template allows theme developers to add user set variables to a theme's CSS files. These variables are set by automatically generated form elements on the theme's configuration page.

The variables are added to the CSS file as comments:

#header {
  background-image:/*banner_image*/none/*banner_image*/;
  height:/*banner_image.height*/auto/*banner_image.height*/;
}

Since the variables are comments, the CSS files remain valid with the default values even if the CSS Template module is not enabled.

A Drupal theme demonstrating this module's usage can be found here: http://drupal.org/project/css_template_demo

This module currently requires the file system download method to be set to public.

This module was originally based on the Color module.

Downloads

Version Downloads Date Links
6.x-1.0 tar.gz (10.29 KB) | zip (11.54 KB) 2010-Jul-26 Notes

Project Information


Maintainers for CSS Template

  • edegro - 1 commit
    last: 2 years ago, first: 2 years ago

Issues for CSS Template

To avoid duplicates, please search before submitting a new issue.
All issues
Bug reports
Statistics (2 years)
New issues
Open bugs
Participants
nobody click here