mirror of
https://github.com/penpot/penpot.git
synced 2025-07-23 05:37:13 +02:00
🐛 Wrong component background color
This commit is contained in:
parent
d30707a02c
commit
eeabeadc39
4 changed files with 14 additions and 7 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue