0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-21 22:22:43 -05:00

Revert "🐛 Fix import of tinycolor2"

This reverts commit 8e4574888d.
This commit is contained in:
Andrés Moya 2024-11-07 18:32:09 +01:00
parent 8e4574888d
commit a757556e9c

View file

@ -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)))