mirror of
https://github.com/penpot/penpot.git
synced 2026-09-24 21:06:14 +00:00
🐛 Fix lost resolved value on tooltip (#6102)
This commit is contained in:
parent
2e5138eddc
commit
17af55d3c8
@ -266,6 +266,10 @@
|
|||||||
(ctob/get-active-themes-set-tokens tokens-lib)
|
(ctob/get-active-themes-set-tokens tokens-lib)
|
||||||
{}))
|
{}))
|
||||||
|
|
||||||
|
;; Resolve tokens as second step
|
||||||
|
active-theme-tokens'
|
||||||
|
(sd/use-resolved-tokens* active-theme-tokens)
|
||||||
|
|
||||||
;; This only checks for the currently explicitly selected set
|
;; This only checks for the currently explicitly selected set
|
||||||
;; name, it is ephimeral and can be nil
|
;; name, it is ephimeral and can be nil
|
||||||
selected-token-set-name
|
selected-token-set-name
|
||||||
@ -323,14 +327,14 @@
|
|||||||
:is-open (get open-status type false)
|
:is-open (get open-status type false)
|
||||||
:type type
|
:type type
|
||||||
:selected-shapes selected-shapes
|
:selected-shapes selected-shapes
|
||||||
:active-theme-tokens active-theme-tokens
|
:active-theme-tokens active-theme-tokens'
|
||||||
:tokens tokens}]))
|
:tokens tokens}]))
|
||||||
|
|
||||||
(for [type empty-group]
|
(for [type empty-group]
|
||||||
[:> token-group* {:key (name type)
|
[:> token-group* {:key (name type)
|
||||||
:type type
|
:type type
|
||||||
:selected-shapes selected-shapes
|
:selected-shapes selected-shapes
|
||||||
:active-theme-tokens active-theme-tokens
|
:active-theme-tokens active-theme-tokens'
|
||||||
:tokens []}])]))
|
:tokens []}])]))
|
||||||
|
|
||||||
(mf/defc import-export-button*
|
(mf/defc import-export-button*
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user