function colorapi_theme in Color API 8
Implements hook_theme().
File
- ./colorapi.module, line 11 
- Holds hooks for the Color API module.
Code
function colorapi_theme($existing, $type, $theme, $path) {
  return [
    'colorapi_color_display' => [
      'variables' => [
        'delta' => NULL,
        'item' => NULL,
        'hexadecimal_color' => NULL,
      ],
      'template' => 'colorapi-color-display',
    ],
    'colorapi_text_display' => [
      'variables' => [
        'delta' => NULL,
        'item' => NULL,
        'hexadecimal_color' => NULL,
      ],
      'template' => 'colorapi-text-display',
    ],
  ];
}