mirror of
https://github.com/penpot/penpot.git
synced 2025-12-11 22:14:05 +01:00
@@ -4,7 +4,7 @@
|
|||||||
This library was chosen as it is already used by StyleDictionary,
|
This library was chosen as it is already used by StyleDictionary,
|
||||||
so there is no extra dependency cost and there was no clojure alternatives with all the necessary features."
|
so there is no extra dependency cost and there was no clojure alternatives with all the necessary features."
|
||||||
(:require
|
(:require
|
||||||
["tinycolor2$default" :as tinycolor]))
|
["tinycolor2" :as tinycolor]))
|
||||||
|
|
||||||
(defn tinycolor? [^js x]
|
(defn tinycolor? [^js x]
|
||||||
(and (instance? tinycolor x) (.isValid x)))
|
(and (instance? tinycolor x) (.isValid x)))
|
||||||
|
|||||||
Reference in New Issue
Block a user