fix(web): adjust snippets input count badge color (#38386)

This commit is contained in:
KVOJJJin 2026-07-03 17:05:52 +08:00 committed by GitHub
parent 91cc50371b
commit d3ed533716
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -51,7 +51,7 @@ export function SnippetCollapsedPreview({
)}
<div
className={cn(
'mt-4 flex min-w-6 items-center justify-center rounded-full bg-background-default-subtle px-2 text-2xs leading-4 font-normal text-text-tertiary',
'mt-4 flex min-w-6 items-center justify-center rounded-full border border-divider-subtle bg-components-badge-bg-gray-soft px-2 text-2xs leading-4 font-normal text-text-secondary',
inputFieldCount > 99 ? 'h-5' : 'size-5',
)}
aria-label={`${inputFieldCount} ${t('inputVariables', { ns: 'snippet' })}`}