Allows users to change the color scheme of themes.
File
core/modules/color/color.module
Functions
Name | Description |
---|---|
color_block_view_pre_render | #pre_render callback: Sets color preset logo. |
color_block_view_system_branding_block_alter | Implements hook_block_view_BASE_BLOCK_ID_alter(). |
color_form_system_theme_settings_alter | Implements hook_form_FORM_ID_alter(). |
color_get_info | Retrieves the Color module information for a particular theme. |
color_get_palette | Retrieves the color palette for a particular theme. |
color_help | Implements hook_help(). |
color_library_info_alter | Implements hook_library_info_alter(). |
color_palette_color_value | Determines the value for a palette color field. |
color_scheme_form | Form constructor for the color configuration form for a particular theme. |
color_scheme_form_submit | Form submission handler for color_scheme_form(). |
color_scheme_form_validate | Form validation handler for color_scheme_form(). |
color_theme | Implements hook_theme(). |
color_valid_hexadecimal_string | Determines if a hexadecimal CSS color string is valid. |
template_preprocess_color_scheme_form | Prepares variables for color scheme form templates. |
_color_blend | Blends two hex colors and returns the GD color. |
_color_gd | Converts a hex triplet into a GD color. |
_color_hsl2rgb | Converts an HSL triplet into RGB. |
_color_hue2rgb | Helper function for _color_hsl2rgb(). |
_color_pack | Converts an RGB triplet to a hex color. |
_color_render_images | Renders images that match a given palette. |
_color_rewrite_stylesheet | Rewrites the stylesheet to match the colors in the palette. |
_color_rgb2hsl | Converts an RGB triplet to HSL. |
_color_save_stylesheet | Saves the rewritten stylesheet to disk. |
_color_shift | Shifts a given color, using a reference pair and a target blend color. |
_color_unpack | Converts a hex color into an RGB triplet. |
Please login to continue.