Initial work on icons library page and icons rendering.

This commit is contained in:
Andrey Antukh 2015-12-25 20:53:00 +02:00
parent 71d00f5970
commit 9e8171a777
6 changed files with 291 additions and 136 deletions

View file

@ -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+))