Skip to content

Commit

Permalink
feat(settings): add chat color theme inverted toggle in settings modal (
Browse files Browse the repository at this point in the history
  • Loading branch information
fujita-h authored Nov 11, 2024
1 parent 16db2c4 commit e63c0e3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions web/app/components/app/overview/settings/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,10 @@ const SettingsModal: FC<ISettingsModalProps> = ({
onChange={onChange('chatColorTheme')}
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'>
<p className='system-xs-medium text-gray-500'>{t(`${prefixSettings}.sso.label`)}</p>
Expand Down

0 comments on commit e63c0e3

Please sign in to comment.