🐛 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:
Eva Marco 2026-07-03 09:28:27 +02:00 committed by GitHub
parent 0387cdf7e4
commit 841b47736b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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