color_library_info_alter(&$libraries, $extension)
Implements hook_library_info_alter().
Replaces style sheets declared in libraries with color-altered style sheets.
File
core/modules/color/color.module, line 74 Allows users to change the color scheme of themes.
Code
function color_library_info_alter(&$libraries, $extension) {
$themes = array_keys(\Drupal::service('theme_handler')->listInfo());
if (in_array($extension, $themes)) {
$color_paths = \Drupal::config('color.theme.