Posted by yhahn on December 14, 2009 at 9:04pm
DesignKit is a small API module lets themes provide options for customizing colors and images. Themes can use entries in their .info file to specify what color variables should be made available. Here is an example snippet:
; Background color
designkit[color][background][title] = "Background"
designkit[color][background][description] = "Background color."
designkit[color][background][default] = "#ffffff"
; Foo bar color
designkit[color][foo][title] = "Foo"
designkit[color][foo][description] = "Foo bar baz."
designkit[color][foo][default] = "#cc0099"
; Site logo
designkit[image][logo][title] = "Site logo"
designkit[image][logo][description] = "Header logo."
designkit[image][logo][imagecache] = "imagecache_scale:200x50"
; Print logo
designkit[image][logo_print][title] = "Print logo"
designkit[image][logo_print][description] = "Print logo."
designkit[image][logo_print][imagecache] = "imagecache_scale:600x300"For more information, please take a look at README.txt.
Requirements
- Color module (included in Drupal core)
- ImageCache
- ImageAPI (ImageCache dependency)
Downloads
Project Information
- Module categories: Theme Enhancements
- Maintenance status: Unknown
- Development status: Unknown
- Reported installs: 4370 sites currently report using this module. View usage statistics.
- Last modified: January 4, 2010