shadow-preview.html.twig in Bootstrap Styles 1.0.x
Default theme implementation of spacing preview box.
1 theme call to shadow-preview.html.twig
- Shadow::buildStyleFormElements in src/
Plugin/ BootstrapStyles/ StylesGroup/ Shadow.php
File
templates/shadow-preview.html.twigView source
- {#
- /**
- * @file
- * Default theme implementation of spacing preview box.
- *
- * @ingroup themeable
- */
- #}
-
- {{ attach_library('bootstrap_styles/plugins_groups.shadow.shadow_preview') }}
-
- <div data-bs-element="bs_preview-box" data-bs-mode="light" class="bs-shadow-preview">
- <label class="bs-toggle-switch">
- <input class="bs-toggle-switch--input" type="checkbox" data-theme-toggle>
- <span class="bs-toggle-switch--slider"></span>
- </label>
-
- <div data-bs-element="bs_preview-element">
- {{ 'Preview'|t }}
- </div>
- </div>