Last active
December 30, 2017 18:15
-
-
Save mavimo/e3bc02fc6cd79351bfe60f0977a7f4f8 to your computer and use it in GitHub Desktop.
This file contains 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
/** | |
* Implements hook_css_alter(). | |
*/ | |
function THEME_NAME_css_alter(&$css) { | |
foreach ($css as &$style) { | |
$style[‘weight’] += $style[‘group’]; | |
$style[‘group’] = CSS_DEFAULT; | |
$style[‘every_page’] = TRUE; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment