Skip to content

Commit 0af1291

Browse files
committed
Flatten components before passing on to girouette
1 parent ce2259f commit 0af1291

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

src/lambdaisland/ornament.cljc

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@
140140

141141
:always
142142
(update :garden #(comp process-rule %)))))
143-
components)
143+
(flatten components))
144144
:colors (into (empty colors)
145145
(map (juxt (comp name key) val))
146146
colors)
@@ -965,9 +965,10 @@
965965

966966
(comment
967967
(spit "/tmp/ornament.css" (defined-styles))
968-
)
969-
(->> @rules-registry
970-
vals
971-
(sort-by :index)
972-
(mapcat :rules)
973-
process-rules)
968+
969+
(->> @rules-registry
970+
vals
971+
(sort-by :index)
972+
(mapcat :rules)
973+
process-rules))
974+

0 commit comments

Comments
 (0)