import { t } from '@vegaprotocol/i18n'; import { TelemetryApproval } from '../../components/welcome-dialog/telemetry-approval'; import { Divider, RoundedWrapper, Switch, ThemeSwitcher, } from '@vegaprotocol/ui-toolkit'; import { useThemeSwitcher } from '@vegaprotocol/react-helpers'; export const Settings = () => { const { theme, setTheme } = useThemeSwitcher(); const text = t(theme === 'dark' ? 'Light mode' : 'Dark mode'); return (

{t('Settings')}

{t('Changes are applied automatically.')}
setTheme()} checked={theme === 'dark'} />
); };