color.module

Version 1.79 (checked in on 2009/12/06 at 17:48:36 by webchick)

Functions

NameDescription
color_form_system_themes_alterImplements hook_form_FORM_ID_alter().
color_form_system_theme_settings_alterImplements hook_form_FORM_ID_alter().
color_get_infoRetrieve the color.module info for a particular theme.
color_get_paletteHelper function to retrieve the color palette for a particular theme.
color_helpImplements hook_help().
color_scheme_formForm callback. Returns the configuration form.
color_scheme_form_submitSubmit handler for color change form.
color_themeImplements hook_theme().
theme_color_scheme_formTheme the color form.
_color_blendBlend two hex colors and return the GD color.
_color_gdConvert a hex triplet into a GD color.
_color_hsl2rgbConvert a HSL triplet into RGB.
_color_html_alterCallback for the theme to alter the resources used.
_color_hue2rgbHelper function for _color_hsl2rgb().
_color_packConvert an RGB triplet to a hex color.
_color_page_alterCallback for the theme to alter the resources used.
_color_render_imagesRender images that match a given palette.
_color_rewrite_stylesheetRewrite the stylesheet to match the colors in the palette.
_color_rgb2hslConvert an RGB triplet to HSL.
_color_save_stylesheetSave the rewritten stylesheet to disk.
_color_shiftShift a given color, using a reference pair and a target blend color.
_color_theme_select_form_alterHelper for hook_form_FORM_ID_alter() implementations.
_color_unpackConvert a hex color into an RGB triplet.
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.