Skip to content

Commit 6103a86

Browse files
committed
add icons
1 parent 34e64a0 commit 6103a86

File tree

8 files changed

+22
-1
lines changed

8 files changed

+22
-1
lines changed

resources/public/icons/command.svg

Lines changed: 1 addition & 0 deletions
Loading

resources/public/icons/commit.svg

Lines changed: 3 additions & 0 deletions
Loading

resources/public/icons/earth.svg

Lines changed: 3 additions & 0 deletions
Loading

resources/public/icons/list.svg

Lines changed: 1 addition & 0 deletions
Loading

resources/public/icons/properties.svg

Lines changed: 3 additions & 0 deletions
Loading

resources/public/icons/save-as.svg

Lines changed: 1 addition & 0 deletions
Loading

resources/public/icons/warning.svg

Lines changed: 3 additions & 0 deletions
Loading

src/renderer/menubar/views.cljs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
:disabled? [:document/active-saved?]}
5151
{:key :save-as
5252
:label "Save as…"
53-
:icon "save"
53+
:icon "save-as"
5454
:action [:document/save-as]}
5555
{:key :download
5656
:icon "download"
@@ -351,6 +351,7 @@
351351
:action [:panel/toggle :tree]}
352352
{:key :toggle-props
353353
:type :checkbox
354+
:icon "properties"
354355
:label "Properties"
355356
:checked? [:panel/visible? :properties]
356357
:action [:panel/toggle :properties]}
@@ -435,24 +436,29 @@
435436
:type :root
436437
:items [{:key :cmdk
437438
:label "Command panel"
439+
:icon "command"
438440
:action [:dialog/cmdk]}
439441
{:key :divider-1
440442
:type :separator}
441443
{:key :website
442444
:label "Website"
445+
:icon "earth"
443446
:action [:window/open-remote-url "https://repath.studio/"]}
444447
{:key :source-code
445448
:label "Source Code"
449+
:icon "commit"
446450
:action [:window/open-remote-url "https://github.com/re-path/studio"]}
447451
{:key :license
448452
:label "License"
449453
:action [:window/open-remote-url "https://github.com/re-path/studio/blob/main/LICENSE"]}
450454
{:key :changelog
455+
:icon "list"
451456
:label "Changelog"
452457
:action [:window/open-remote-url "https://repath.studio/roadmap/changelog/"]}
453458
{:key :divider-2
454459
:type :separator}
455460
{:key :submit-issue
461+
:icon "warning"
456462
:label "Submit an issue"
457463
:action [:window/open-remote-url "https://github.com/re-path/studio/issues/new/choose"]}
458464
{:key :divider-3

0 commit comments

Comments
 (0)