mirror of
https://github.com/penpot/penpot.git
synced 2026-07-10 16:19:08 +00:00
🐛 Fix token pill border color on invalid pills when not selected (#10535)
Signed-off-by: Eva Marco <eva.marco@kaleidos.net>
This commit is contained in:
parent
0387cdf7e4
commit
841b47736b
@ -288,16 +288,17 @@
|
||||
:token-pill-no-icon (and (not status-icon?) (not errors?))
|
||||
:token-pill-default can-edit?
|
||||
:token-pill-disabled disabled?
|
||||
:token-pill-applied (and can-edit? has-selected? (or half-applied? full-applied?))
|
||||
:token-pill-applied (and can-edit? applied?)
|
||||
:token-pill-invalid (and can-edit? errors?)
|
||||
:token-pill-invalid-applied (and (or half-applied? full-applied?) errors? can-edit?)
|
||||
:token-pill-invalid-applied (and applied? errors? can-edit?)
|
||||
|
||||
:token-pill-viewer is-viewer?
|
||||
:token-pill-applied-viewer (and is-viewer? has-selected?
|
||||
(or half-applied? full-applied?))
|
||||
:token-pill-applied-viewer (and is-viewer?
|
||||
applied?)
|
||||
:token-pill-invalid-viewer (and is-viewer?
|
||||
errors?)
|
||||
:token-pill-invalid-applied-viewer (and is-viewer?
|
||||
(and full-applied? errors?)))
|
||||
applied?))
|
||||
:id (str "token-pill-" (:id token))
|
||||
:type "button"
|
||||
:on-focus on-hover
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user