⬆️ fix(SendButton): correct dark theme bg when enabled (#1503)

This commit is contained in:
Danny Avila 2024-01-06 15:57:47 -05:00 committed by GitHub
parent e870e6e83f
commit 24cb9957cd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,7 +6,7 @@ export default function SendButton({ text, disabled }) {
<button <button
disabled={!text || disabled} disabled={!text || disabled}
className={cn( className={cn(
'enabled:bg-brand-purple absolute rounded-lg rounded-md border border-black p-0.5 p-1 text-white transition-colors enabled:bg-black disabled:bg-black disabled:text-gray-400 disabled:opacity-10 dark:border-white dark:bg-white dark:disabled:bg-white ', 'absolute rounded-lg rounded-md border border-black p-0.5 p-1 text-white transition-colors enabled:bg-black enabled:dark:bg-white disabled:bg-black disabled:text-gray-400 disabled:opacity-10 dark:border-white dark:bg-white dark:disabled:bg-white ',
'bottom-1.5 right-1.5 md:bottom-2.5 md:right-3 md:p-[2px]', 'bottom-1.5 right-1.5 md:bottom-2.5 md:right-3 md:p-[2px]',
)} )}
data-testid="send-button" data-testid="send-button"