Feat/prompt editor dark theme (#12976)

This commit is contained in:
zxhlyh 2025-01-23 16:20:00 +08:00 • committed by GitHub
commit e54ce479ad
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 32 additions and 27 deletions

View file

@ -16,7 +16,7 @@ const Placeholder = ({
return (
<div className={cn(
className,
'absolute top-0 left-0 h-full w-full text-sm text-gray-300 select-none pointer-events-none',
'absolute top-0 left-0 h-full w-full text-sm text-components-input-text-placeholder select-none pointer-events-none',
compact ? 'leading-5 text-[13px]' : 'leading-6 text-sm',
)}>
{value || t('common.promptEditor.placeholder')}