mirror of
https://github.com/documize/community.git
synced 2025-08-02 20:15:26 +02:00
[WIP] User can select theme
This commit is contained in:
parent
11e164496b
commit
679049d2b1
11 changed files with 141 additions and 8 deletions
14
gui/app/templates/components/ui/theme-picker.hbs
Normal file
14
gui/app/templates/components/ui/theme-picker.hbs
Normal file
|
@ -0,0 +1,14 @@
|
|||
<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}}
|
||||
✓
|
||||
{{else}}
|
||||
|
||||
{{/if}}
|
||||
</div>
|
||||
</div>
|
||||
{{/each}}
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue