mirror of
https://github.com/penpot/penpot.git
synced 2025-06-07 13:31:40 +02:00
♻️ Create a colors file to save constants of color that can no be refactored into sass variables
This commit is contained in:
parent
14b23b491f
commit
7a0c12e073
17 changed files with 61 additions and 30 deletions
|
@ -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))))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue