color.inc in Drupal 9
File
core/modules/color/tests/modules/color_test/themes/color_test_theme/color/color.inc
View source
<?php
$info = [
'fields' => [
'bg' => t('Main background'),
'text' => t('Text color'),
],
'schemes' => [
'default' => [
'title' => t('Default'),
'colors' => [
'bg' => '#ff0000',
'text' => '#0000ff',
],
],
'custom' => [
'title' => t('Custom'),
'colors' => [
'bg' => '#ff0000',
'text' => '#3b3b3b',
],
],
],
'css' => [
'css/colors.css',
],
'preview_html' => 'color/preview.html',
];