mirror of
				https://github.com/ItzCrazyKns/Perplexica.git
				synced 2025-11-04 04:38:15 +00:00 
			
		
		
		
	update(ui): restore both message input field dark mode background color
This commit is contained in:
		@@ -31,7 +31,7 @@ const EmptyChatMessageInput = ({
 | 
			
		||||
      }}
 | 
			
		||||
      className="w-full"
 | 
			
		||||
    >
 | 
			
		||||
      <div className="flex flex-col bg-light-primary dark:bg-dark-primary px-5 pt-5 pb-2 rounded-lg w-full border border-light-200 dark:border-dark-200">
 | 
			
		||||
      <div className="flex flex-col bg-light-secondary dark:bg-dark-secondary px-5 pt-5 pb-2 rounded-lg w-full border border-light-200 dark:border-dark-200">
 | 
			
		||||
        <TextareaAutosize
 | 
			
		||||
          value={message}
 | 
			
		||||
          onChange={(e) => setMessage(e.target.value)}
 | 
			
		||||
 
 | 
			
		||||
@@ -40,7 +40,7 @@ const MessageInput = ({
 | 
			
		||||
        }
 | 
			
		||||
      }}
 | 
			
		||||
      className={cn(
 | 
			
		||||
        'bg-light-primary dark:bg-dark-primary p-4 flex items-center overflow-hidden border border-light-200 dark:border-dark-200',
 | 
			
		||||
        'bg-light-secondary dark:bg-dark-secondary p-4 flex items-center overflow-hidden border border-light-200 dark:border-dark-200',
 | 
			
		||||
        mode === 'multi' ? 'flex-col rounded-lg' : 'flex-row rounded-full',
 | 
			
		||||
      )}
 | 
			
		||||
    >
 | 
			
		||||
 
 | 
			
		||||
@@ -156,7 +156,7 @@ export const CopilotToggle = ({
 | 
			
		||||
      <Switch
 | 
			
		||||
        checked={copilotEnabled}
 | 
			
		||||
        onChange={setCopilotEnabled}
 | 
			
		||||
        className="bg-light-primary dark:bg-dark-primary border border-light-200/70 dark:border-dark-200 relative inline-flex h-5 w-10 sm:h-6 sm:w-11 items-center rounded-full"
 | 
			
		||||
        className="bg-light-secondary dark:bg-dark-secondary border border-light-200/70 dark:border-dark-200 relative inline-flex h-5 w-10 sm:h-6 sm:w-11 items-center rounded-full"
 | 
			
		||||
      >
 | 
			
		||||
        <span className="sr-only">Copilot</span>
 | 
			
		||||
        <span
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user