Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Because of this line, subthemes can't add their own CSS:
$variables['styles'] = drupal_get_css(clean_css_stripped());
This means that attempted to do drupal_add_css() in a subtheme produces a WTF, and the fix is to redo that line from clean's template.php, which is wasteful.
Comments
Comment #1
psynaptic CreditAttribution: psynaptic commentedThis has changed in Drupal 7, it doesn't require the CSS to be rebuild any more. If you'd like to change this then I encourage you to do so. This technique is used in Tao by devseed, maybe they have fixed it there?