gutenberg-palette.html.twig in Gutenberg 8
{% for color in colors %} .has-{{ color.name|clean_class }}-color { color: {{ color.color }}; } .has-{{ color.name|clean_class }}-background-color { background-color: {{ color.color }}; } {% endfor %}
1 theme call to gutenberg-palette.html.twig
- gutenberg_page_attachments in ./
gutenberg.module - Implements hook_page_attachments().
File
templates/gutenberg-palette.html.twigView source
- {% for color in colors %}
- .has-{{ color.name|clean_class }}-color {
- color: {{ color.color }};
- }
- .has-{{ color.name|clean_class }}-background-color {
- background-color: {{ color.color }};
- }
- {% endfor %}