mirror of
https://github.com/penpot/penpot.git
synced 2025-01-21 22:22:43 -05:00
parent
8e4574888d
commit
a757556e9c
1 changed files with 1 additions and 1 deletions
|
@ -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)))
|
||||||
|
|
Loading…
Add table
Reference in a new issue