1 template.php basis_css_alter(&$css)

Implements hook_css_alter().

File

core/themes/basis/template.php, line 10
Basis preprocess functions and theme function overrides.

Code

function basis_css_alter(&$css) {
  // Remove Basis' `/css/component/menu-dropdown.css` if using a custom
  // breakpoint.
  if (config_get('menu.settings', 'menu_breakpoint') == 'custom') {
    $path = backdrop_get_path('theme', 'basis');
    unset($css[$path . '/css/component/menu-dropdown.css']);
  }
}