We can add new hook: hook_alter_css_data() (or hook_alter_css_contents()).

Then in drupal_load_stylesheet_content() add call to drupal_alter('css_data', $contents);

This might be useful when we want to change CSS images in url() to sprites or use data URI schemes in some external module.

The same should be done for javascripts.

Comments

stephencamilo’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)
hestenet’s picture

Status: Closed (won't fix) » Active

Reset issue status.