♻️ Create a colors file to save constants of color that can no be refactored into sass variables

This commit is contained in:
eva 2021-11-26 11:48:10 +01:00 committed by Alonso Torres
parent 14b23b491f
commit 7a0c12e073
17 changed files with 61 additions and 30 deletions

View file

@ -6,6 +6,7 @@
(ns app.main.ui.shapes.text
(:require
[app.common.colors :as clr]
[app.common.data :as d]
[app.common.geom.shapes :as geom]
[app.main.ui.context :as muc]
@ -135,7 +136,7 @@
(filter some?))
colors (->> color-data
(into #{"#000000"}
(into #{clr/black}
(comp (filter #(= :solid (:type %)))
(map :hex))))