import React from 'react'; import ImmutablePropTypes from 'react-immutable-proptypes'; import classNames from 'classnames'; import { defaultSettings } from 'soapbox/actions/settings'; import { brandColorToCSS } from 'soapbox/utils/theme'; export default function SitePreview({ soapbox }) { const settings = defaultSettings.mergeDeep(soapbox.get('defaultSettings')); const bodyClass = classNames('site-preview app-body', `theme-mode-${settings.get('themeMode')}`, { 'system-font': settings.get('systemFont'), 'no-reduce-motion': !settings.get('reduceMotion'), 'underline-links': settings.get('underlineLinks'), 'dyslexic': settings.get('dyslexicFont'), 'demetricator': settings.get('demetricator'), 'halloween': settings.get('halloween'), }); return (