W3cubDocs

/Drupal 8

color-scheme-form.html.twig

Default theme implementation for a theme's color form.

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 also

template_preprocess_color_scheme_form()

File

core/modules/color/templates/color-scheme-form.html.twig

Related topics

Theme system overview
Functions and templates for the user interface that themes can override.

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!modules!color!templates!color-scheme-form.html.twig/8.1.x