image-effects-color-detail.html.twig in Image Effects 8.3
Same filename and directory in other branches
Default theme implementation for image_effects color details.
4 theme calls to image-effects-color-detail.html.twig
- ColorShiftImageEffect::getSummary in src/
Plugin/ ImageEffect/ ColorShiftImageEffect.php - Returns a render array summarizing the configuration of the image effect.
- SetCanvasImageEffect::getSummary in src/
Plugin/ ImageEffect/ SetCanvasImageEffect.php - Returns a render array summarizing the configuration of the image effect.
- SetTransparentColorImageEffect::getSummary in src/
Plugin/ ImageEffect/ SetTransparentColorImageEffect.php - Returns a render array summarizing the configuration of the image effect.
- TextOverlayImageEffect::getSummary in src/
Plugin/ ImageEffect/ TextOverlayImageEffect.php - Returns a render array summarizing the configuration of the image effect.
File
templates/image-effects-color-detail.html.twigView source
- {#
- /**
- * @file
- * Default theme implementation for image_effects color details.
- *
- * @ingroup themeable
- */
- #}
- {% if color %}
- {% if border %}
- <span class='image-effects-color-box' style='background-color: {{ color }}; color: {{ color }}; border-color: {{ border_color }};'>M</span> {{ color }}
- {% else %}
- <span class='image-effects-color-box' style='background-color: {{ color }}; color: {{ color }}; '>M</span> {{ color }}
- {% endif %}
- {% if color_opacity < 100 %}
- {{ 'opacity'|t }}: {{ color_opacity }}%
- {% endif %}
- {% else %}
- {{ 'Transparent'|t }}
- {% endif %}