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:
parent
78a1a615d9
commit
8e4574888d
1 changed files with 1 additions and 1 deletions
|
@ -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)))
|
||||
|
|
Loading…
Reference in a new issue