1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-24 23:59:47 +02:00
documize/gui/app/templates/components/ui/theme-picker.hbs
2018-11-24 18:39:43 +00:00

14 lines
No EOL
319 B
Handlebars

<div class="theme-picker">
{{#each themes as |theme|}}
<div class="theme" style="{{concat 'background-color: ' theme.primary}}" {{action 'onSelect' theme.name}}>
{{theme.name}}
<div class="tick">
{{#if theme.selected}}
&#10003;
{{else}}
&nbsp;
{{/if}}
</div>
</div>
{{/each}}
</div>