mirror of
https://github.com/penpot/penpot.git
synced 2025-08-01 17:38:28 +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
|
@ -1,5 +1,6 @@
|
|||
(ns uxbox.library
|
||||
(:require [uxbox.library.colors :as colors]
|
||||
[uxbox.library.icons :as icons]
|
||||
[uxbox.util.data :refer (index-by-id)]))
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
|
@ -11,3 +12,14 @@
|
|||
|
||||
(def ^:static +color-collections-by-id+
|
||||
(index-by-id colors/+collections+))
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
;; Icons
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
|
||||
(def ^:static +icon-collections+
|
||||
icons/+collections+)
|
||||
|
||||
(def ^:static +icon-collections-by-id+
|
||||
(index-by-id icons/+collections+))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue