You are here

shadow-preview.html.twig in Bootstrap Styles 1.0.x

Default theme implementation of spacing preview box.

File

templates/shadow-preview.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation of spacing preview box.
  5. *
  6. * @ingroup themeable
  7. */
  8. #}
  9. {{ attach_library('bootstrap_styles/plugins_groups.shadow.shadow_preview') }}
  10. <div data-bs-element="bs_preview-box" data-bs-mode="light" class="bs-shadow-preview">
  11. <label class="bs-toggle-switch">
  12. <input class="bs-toggle-switch--input" type="checkbox" data-theme-toggle>
  13. <span class="bs-toggle-switch--slider"></span>
  14. </label>
  15. <div data-bs-element="bs_preview-element">
  16. {{ 'Preview'|t }}
  17. </div>
  18. </div>