Colors management (#24)

* Colors management

* Minor indentation fixes.

* Remove redundant naming.

* Add missing block comment annotations.

* Use consistently defrecord instead of reify.

* Remove useless mapcat usage and simplify the related code.

* Start using more optimistic updates on collection operations.

* Remove println.

* Remove ^:const metadata.

* Remove neested let.

* Replace when with if on sablono templates.
This commit is contained in:
Jesús Espino 2016-05-14 20:50:06 +02:00 committed by Andrey Antukh
parent 4c193d6026
commit 3f4ed6faa5
15 changed files with 456 additions and 182 deletions

View file

@ -11,34 +11,34 @@
[{:name "Generic 1"
:id 1
:builtin true
:colors #{"#00f9ff"
"#009fff"
"#0078ff"
"#005eff"
"#0900ff"
"#7502f1"
"#ffe705"
"#00ffab"
"#f52105"}}
:data #{"#00f9ff"
"#009fff"
"#0078ff"
"#005eff"
"#0900ff"
"#7502f1"
"#ffe705"
"#00ffab"
"#f52105"}}
{:name "Generic 2"
:id 2
:builtin true
:colors #{"#20f9ff"
"#209fff"
"#2078ff"
"#205eff"
"#2900ff"
"#3502f1"
"#3fe705"
"#30ffab"
"#352105"
"#209f20"
"#207820"
"#205e20"
"#290020"
"#350220"
"#3fe720"
"#30ff20"
"#352120"
"#352140"}}])
:data #{"#20f9ff"
"#209fff"
"#2078ff"
"#205eff"
"#2900ff"
"#3502f1"
"#3fe705"
"#30ffab"
"#352105"
"#209f20"
"#207820"
"#205e20"
"#290020"
"#350220"
"#3fe720"
"#30ff20"
"#352120"
"#352140"}}])