Just upgraded the Blueprint theme to 6.x-2.0 from 6.x-1.7, but it appears to be conflicting with the LESS module.

After a little bit of digging, it seems that the problem is in the template.php file, in the blueprint theme folder, at line 136:

  drupal_add_css($vars['bp_library_path'] .'blueprint/screen.css', 'theme', 'screen,projection');
  $vars['css'] = drupal_add_css($vars['bp_library_path'] .'blueprint/print.css', 'theme', 'print');

It basically undoes the work done by the LESS module which points to the new generated css file. As a quick fix, I added the following code into my sub theme template.php file, in the THEME_preprocess_page function:

  module_load_include('module', 'less', 'less');
  _less_build($vars, $hook);

Any thoughts on the problem?

Comments

Web Assistant’s picture

Status: Active » Closed (won't fix)