adaptivetheme-8.x-3.x-dev/at_core/templates/form/color-scheme-form.html.twig

at_core/templates/form/color-scheme-form.html.twig
{#
/**
 * @file
 * Default theme implementation for a theme's color form.
 *
 * AT Core removes the preview, it's not required for most themes.
 *  <h2>{{ 'Preview'|t }}</h2>
 *  {{ html_preview }}
 *
 * Available variables:
 * - form: Form elements for the color scheme form, including:
 *   - scheme: A color scheme form element. For example: a select element with
 *     color theme presets, or a color picker widget.
 *   - palette: Color fields that can be changed by entering in a new hex value.
 * - html_preview: A HTML preview of the theme's current color scheme.
 *
 * @see template_preprocess_color_scheme_form()
 */
#}
<div class="color-form clearfix">
  {{ form.scheme }}
  <div id="palette" class="clearfix">
    {{ form.palette }}
  </div>
  {{ form|without('scheme', 'palette') }}
</div>

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc