This part in radix_preprocess_page()

  // Display a message if Sass has not been compiled.
  $theme_path = drupal_get_path('theme', $GLOBALS['theme']);
  $stylesheet_path = $theme_path . '/assets/stylesheets/screen.css';
  if (_radix_current_theme() == 'radix') {
    $stylesheet_path = $theme_path . '/assets/stylesheets/radix-style.css';
  }
  if (!file_exists($stylesheet_path)) {
    drupal_set_message(t('It looks like %path has not been created yet. Run <code>@command</code> in your theme directory to create it.', array(
      '%path' => $stylesheet_path,
      '@command' => 'compass watch',
    )), 'error');
  }

assumes that custom theme is always using Sass for css pre-processor and that compiled css files will always be in /assets/stylesheets and this is kind a limiting. Custom theme should have a freedom to use Sass or Less and also choose how it will structure it css files.

Can we remove this code from radix_preprocess_page()?

Comments

shadcn’s picture

Status: Active » Fixed

We've removed this message in the latest radix. Marking this issue as fixed. Feel free to reopen if you have any question. Thanks.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.