Created
April 18, 2016 14:15
-
-
Save leobauza/119d9d9615d6b2dafb0deb7ffed5bc03 to your computer and use it in GitHub Desktop.
CSS Alter for Zero Theme
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Implements hook_css_alter(). | |
*/ | |
function zero_css_alter(&$css) { | |
$exclude = array( | |
'modules/system/system.base.css' => FALSE, | |
'modules/system/system.messages.css' => FALSE, | |
'modules/system/system.theme.css' => FALSE, | |
'modules/system/system.menus.css' => FALSE, | |
'modules/comment/comment.css' => FALSE, | |
'modules/field/theme/field.css' => FALSE, | |
'modules/node/node.css' => FALSE, | |
'modules/search/search.css' => FALSE, | |
'modules/user/user.css' => FALSE, | |
); | |
$css = array_diff_key($css, $exclude); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment