1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-24 07:39:43 +02:00
documize/gui/app/templates/components/ui/theme-picker.hbs
2018-12-08 20:54:19 +00:00

14 lines
No EOL
317 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>