🐛 Wrong component background color

This commit is contained in:
Aitor 2024-01-15 11:33:03 +01:00 committed by Andrey Antukh
parent d30707a02c
commit eeabeadc39
4 changed files with 14 additions and 7 deletions

View file

@ -433,6 +433,12 @@
[o prop]
(.getPropertyValue ^js o prop))
(defn get-css-variable
([variable element]
(.getPropertyValue (.getComputedStyle js/window element) variable))
([variable]
(.getPropertyValue (.getComputedStyle js/window (.-documentElement js/document)) variable)))
(defn focus!
[^js node]
(when (some? node)