<template name="themeSelectorModal">
    {{#dialogForm (extend this
        id='themeSelectorModal' dialogClass='themed modal-lg' confirmLabel='Apply theme'
        title='Themes' titleIcon='fa fa-sliders'
    )}}
        <ul class="theme-list text-center">
            {{#each theme in themes}}
                <li class="text-center preview-theme {{printClassIfSelected theme}}" data-theme="{{theme}}">
                    <div class="icon-wrapper">
                        <span class="theme-icon-{{theme}}"></span>
                    </div>
                    <h4 class="theme-title">{{ucFirst theme}}</h4>
                </li>
            {{/each}}
        </ul>
    {{/dialogForm}}
</template>
