import Head from 'next/head' import { THEMES } from '../lib/constants' import Reset from './style/Reset' import Font from './style/Font' import Typography from './style/Typography' import '../static/react-crop.css' import '../static/react-spinner.css' import '../lib/custom/themes/one-dark.css' import '../lib/custom/themes/verminal.css' import '../lib/custom/themes/night-owl.css' import '../lib/custom/themes/nord.css' export default () => { const onBrowser = typeof window !== 'undefined' return (
Carbon {onBrowser ? THEMES.filter(t => t.hasStylesheet !== false).map(theme => ( )) : null}
) }