Detect reference errors when importing tokens

This commit is contained in:
Florian Schroedl 2024-10-22 10:14:47 +02:00
parent d3ded00bc6
commit 66dce0e795
8 changed files with 299 additions and 127 deletions

View file

@ -24,7 +24,7 @@
(watch [_ state _]
(->> (rx/from (-> (get-in state [:workspace-data :tokens-lib])
(ctob/get-active-themes-set-tokens)
(sd/resolve-tokens+ {:names-map? true})))
(sd/resolve-tokens+)))
(rx/mapcat #(rx/of (end)))))))
(defn stop-on