mirror of
				https://github.com/langgenius/dify.git
				synced 2025-11-04 12:53:38 +00:00 
			
		
		
		
	feat(settings): add chat color theme inverted toggle in settings modal (#10558)
This commit is contained in:
		
							parent
							
								
									16db2c4e57
								
							
						
					
					
						commit
						e63c0e3cbb
					
				@ -261,6 +261,10 @@ const SettingsModal: FC<ISettingsModalProps> = ({
 | 
				
			|||||||
            onChange={onChange('chatColorTheme')}
 | 
					            onChange={onChange('chatColorTheme')}
 | 
				
			||||||
            placeholder='E.g #A020F0'
 | 
					            placeholder='E.g #A020F0'
 | 
				
			||||||
          />
 | 
					          />
 | 
				
			||||||
 | 
					          <div className="mt-1 flex justify-between items-center">
 | 
				
			||||||
 | 
					            <p className={`ml-2 ${s.settingsTip} text-gray-500`}>{t(`${prefixSettings}.chatColorThemeInverted`)}</p>
 | 
				
			||||||
 | 
					            <Switch defaultValue={inputInfo.chatColorThemeInverted} onChange={v => setInputInfo({ ...inputInfo, chatColorThemeInverted: v })}></Switch>
 | 
				
			||||||
 | 
					          </div>
 | 
				
			||||||
        </>}
 | 
					        </>}
 | 
				
			||||||
        {systemFeatures.enable_web_sso_switch_component && <div className='w-full mt-8'>
 | 
					        {systemFeatures.enable_web_sso_switch_component && <div className='w-full mt-8'>
 | 
				
			||||||
          <p className='system-xs-medium text-gray-500'>{t(`${prefixSettings}.sso.label`)}</p>
 | 
					          <p className='system-xs-medium text-gray-500'>{t(`${prefixSettings}.sso.label`)}</p>
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user