Needs work
Project:
Clean
Version:
6.x-2.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Nov 2010 at 15:36 UTC
Updated:
27 Feb 2011 at 14:14 UTC
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 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?