mirror of
https://github.com/penpot/penpot.git
synced 2025-01-20 13:42:59 -05:00
Merge pull request #406 from tokens-studio/eva-token-bugfixing
Eva token bugfixing
This commit is contained in:
commit
0c80bf76b8
3 changed files with 4 additions and 3 deletions
|
@ -107,6 +107,7 @@
|
|||
(when (ctsr/can-get-border-radius? shape)
|
||||
(ctsr/set-radius-to-single-corner shape (first attributes) value)))
|
||||
{:reg-objects? true
|
||||
:ignore-touched true
|
||||
:attrs ctt/border-radius-keys}))
|
||||
|
||||
(defn update-opacity [value shape-ids]
|
||||
|
|
|
@ -136,8 +136,8 @@
|
|||
{:key (:name token)
|
||||
:token token
|
||||
:theme-token theme-token
|
||||
:half-applied (and applied (not full-applied))
|
||||
;; Multiple selected shapes behavior should be reviewed after MVP
|
||||
:half-applied (or (and applied multiple-selection)
|
||||
(and applied (not full-applied)))
|
||||
:full-applied (if multiple-selection
|
||||
false
|
||||
applied)
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
:else
|
||||
"token-status-non-applied")]
|
||||
[:button {:class (stl/css-case :token-pill true
|
||||
:token-pill-applied full-applied
|
||||
:token-pill-applied (or half-applied full-applied)
|
||||
:token-pill-invalid errors?
|
||||
:token-pill-invalid-applied (and full-applied errors?))
|
||||
:type "button"
|
||||
|
|
Loading…
Add table
Reference in a new issue