Skip to content

Commit 427f184

Browse files
committed
add icons
1 parent 95fe2f7 commit 427f184

File tree

9 files changed

+37
-3
lines changed

9 files changed

+37
-3
lines changed

resources/public/icons/copy.svg

Lines changed: 3 additions & 0 deletions
Loading

resources/public/icons/delete.svg

Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading

resources/public/icons/paste.svg

Lines changed: 3 additions & 0 deletions
Loading

resources/public/icons/select-all.svg

Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading

resources/public/icons/zoom-in.svg

Lines changed: 3 additions & 0 deletions
Loading

resources/public/icons/zoom-out.svg

Lines changed: 3 additions & 0 deletions
Loading

src/renderer/menubar/views.cljs

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
:type :separator}
1919
{:key :clear-recent
2020
:label "Clear recent"
21-
:icon "times"
21+
:icon "delete"
2222
:action [:document/clear-recent]}]))))
2323

2424
(defn file-menu
@@ -92,39 +92,48 @@
9292
:label "Cut"
9393
:action [:element/cut]}
9494
{:key :copy
95+
:icon "copy"
9596
:label "Copy"
9697
:action [:element/copy]}
9798
{:key :paste
9899
:label "Paste"
100+
:icon "paste"
99101
:action [:element/paste]}
100102
{:key :paste-in-place
103+
:icon "paste"
101104
:label "Paste in place"
102105
:action [:element/paste-in-place]}
103106
{:key :paste-styles
107+
:icon "paste"
104108
:label "Paste styles"
105109
:action [:element/paste-styles]}
106110
{:key :divider-2
107111
:type :separator}
108112
{:key :duplicate
113+
:icon "copy"
109114
:label "Duplicate"
110115
:action [:element/duplicate-in-place]}
111116
{:key :divider-3
112117
:type :separator}
113118
{:key :select-all
119+
:icon "select-all"
114120
:label "Select all"
115121
:action [:element/select-all]}
116122
{:key :deselect-all
123+
:icon "deselect-all"
117124
:label "Deselect all"
118125
:action [:element/deselect-all]}
119126
{:key :invert-selection
120127
:label "Invert selection"
121128
:action [:element/invert-selection]}
122129
{:key :select-same-tags
130+
:icon "select-same"
123131
:label "Select same tags"
124132
:action [:element/select-same-tags]}
125133
{:key :divider-4
126134
:type :separator}
127135
{:key :delete
136+
:icon "delete"
128137
:label "Delete"
129138
:action [:element/delete]}]})
130139

@@ -280,11 +289,11 @@
280289
[]
281290
[{:key :zoom-in
282291
:label "In"
283-
:icon "plus"
292+
:icon "zoom-in"
284293
:action [:frame/zoom-in]}
285294
{:key :zoom-out
286295
:label "Out"
287-
:icon "minus"
296+
:icon "zoom-out"
288297
:action [:frame/zoom-out]}
289298
{:key :divider-1
290299
:type :separator}
@@ -434,6 +443,7 @@
434443
{:key :divider-3
435444
:type :separator}
436445
{:key :about
446+
:icon "info"
437447
:label "About"
438448
:action [:dialog/about]}]})
439449

0 commit comments

Comments
 (0)