mirror of
https://github.com/penpot/penpot.git
synced 2025-08-02 22:38:37 +02:00
Initial work on icons library page and icons rendering.
This commit is contained in:
parent
71d00f5970
commit
9e8171a777
6 changed files with 291 additions and 136 deletions
19
frontend/uxbox/library/icons.cljs
Normal file
19
frontend/uxbox/library/icons.cljs
Normal file
|
@ -0,0 +1,19 @@
|
|||
(ns uxbox.library.icons)
|
||||
|
||||
(def ^:private +material+
|
||||
[{:name "Attachment"
|
||||
:id :material/attachment
|
||||
:type :builtin/icon
|
||||
:svg [:path
|
||||
{:d "M15 36c-6.08 0-11-4.93-11-11s4.92-11 11-11h21c4.42 0 8 3.58 8 8s-3.58 8-8 8h-17c-2.76 0-5-2.24-5-5s2.24-5 5-5h15v3h-15c-1.1 0-2 .89-2 2s.9 2 2 2h17c2.76 0 5-2.24 5-5s-2.24-5-5-5h-21c-4.42 0-8 3.58-8 8s3.58 8 8 8h19v3h-19z"}]}
|
||||
{:name "Cloud"
|
||||
:id :material/cloud
|
||||
:type :builtin/icon
|
||||
:svg [:path
|
||||
{:d "M38.71 20.07c-1.36-6.88-7.43-12.07-14.71-12.07-5.78 0-10.79 3.28-13.3 8.07-6.01.65-10.7 5.74-10.7 11.93 0 6.63 5.37 12 12 12h26c5.52 0 10-4.48 10-10 0-5.28-4.11-9.56-9.29-9.93z"}]}
|
||||
])
|
||||
|
||||
(def +collections+
|
||||
[{:name "Material design"
|
||||
:id 1
|
||||
:icons +material+}])
|
Loading…
Add table
Add a link
Reference in a new issue