mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-03-13 17:10:06 +00:00
## Summary Replace hardcoded color and spacing values with semantic design tokens and cache a computed variant class in StatusBadge. ## Changes - **What**: Use Tailwind 4 CSS spacing variables in FormDropdownMenu layout configs, replace zinc color utilities with semantic `node-component-border` tokens in FormDropdownInput, wrap `statusBadgeVariants()` in a `computed` for caching in StatusBadge. ## Review Focus Straightforward token replacements and a computed caching change -- no behavioral differences expected. Fixes #9087 Fixes #9086 Fixes #7910 ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-9349-fix-replace-hardcoded-styles-with-design-tokens-and-cache-StatusBadge-variants-3186d73d36508185aae2e0753c9d1694) by [Unito](https://www.unito.io)