0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-06 14:50:20 -05:00

🐛 Fix import of tinycolor2

This commit is contained in:
Andrés Moya 2024-11-07 18:17:24 +01:00
parent 78a1a615d9
commit 8e4574888d

View file

@ -4,7 +4,7 @@
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."
(:require
["tinycolor2" :as tinycolor]))
["tinycolor2$default" :as tinycolor]))
(defn tinycolor? [^js x]
(and (instance? tinycolor x) (.isValid x)))